login
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
OFFSET
1,2
COMMENTS
2 is the only prime in the sequence.
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
Cf. A082278.
Sequence in context: A089976 A000980 A123611 * A113180 A000116 A302862
KEYWORD
more,nonn
AUTHOR
Amarnath Murthy, Apr 13 2003
EXTENSIONS
Better description from Vladeta Jovovic, Apr 15 2003
a(24)-a(25) from Chai Wah Wu, Nov 29 2019
STATUS
approved