|
|
A082279
|
|
a(1)=1, a(2)=2 and a(n+1) is minimal such that there are a(n-1) primes strictly between a(n) and a(n+1).
|
|
3
|
|
|
1, 2, 4, 8, 20, 54, 152, 464, 1532, 5334, 19764, 77042, 316760, 1361630, 6129422, 28709012, 139999730, 707500404, 3705539918, 20045427240, 111972406422, 644198989898, 3815636759538, 23221092882642, 145131413157282
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
2 is the only prime in the sequence.
|
|
LINKS
|
|
|
EXAMPLE
|
There are 4 primes (11,13,17,19) between 8 and the next term 20.
|
|
MATHEMATICA
|
a[1]=1; a[2]=2; a[n_] := a[n]=1+Prime[1+Sum[a[i], {i, 1, n-2}]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|