Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085237
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A085237 Nondecreasing gaps between primes. +0
5
1, 2, 2, 4, 4, 4, 6, 6, 6, 6, 6, 6, 6, 8, 14, 14, 14, 18, 20, 22, 34, 34, 36, 36, 36, 44, 52, 52, 72, 86, 86, 96, 112, 114, 118, 132, 132, 148, 154, 154, 154, 180, 210, 220, 222, 234, 248, 250, 250, 282, 288, 292, 320, 336, 336, 354, 382, 384, 394, 456, 464, 468, 474 (list; graph; listen)
OFFSET

1,2

COMMENT

All terms of A005250 are in the sequence, but some terms of A005250 appear in this sequence more than once.

REFERENCES

R. K. Guy, Unsolved problems in number theory.

EXAMPLE

a(21)=a(22)=34 because prime(218)-prime(217)=Prime(1060)-prime(1059)=34 and prime(n+1)-prime(n) is less than 34, for n < 1059 and n not equal to 217.

MATHEMATICA

f[n_] := Prime[n+1]-Prime[n]; v={}; Do[ If[f[n]>=If[n==1, 1, v[[ -1]]], v1=n; v=Append[v, f[v1]]; Print[v]], {n, 105000000}]

CROSSREFS

Cf. A005250, A005669.

Sequence in context: A084841 A144202 A157887 this_sequence A110870 A035114 A062570

Adjacent sequences: A085234 A085235 A085236 this_sequence A085238 A085239 A085240

KEYWORD

nonn

AUTHOR

Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Aug 11 2003

EXTENSIONS

a(53)-a(63) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Nov 24 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research