login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A086566
a(1)=2; for n>1 a(n) is the largest prime number m such that a(n-1)^(1/(n-1))>m^(1/n).
0
2, 3, 5, 7, 11, 17, 23, 31, 47, 71, 107, 163, 241, 367, 557, 839, 1277, 1933, 2939, 4463, 6793, 10337, 15733, 23929, 36389, 55381, 84263, 128239, 195163, 297023, 452077, 688073, 1047271, 1593947, 2426041, 3692527, 5620159, 8554093, 13019651
OFFSET
1,1
COMMENTS
For this subsequence of prime numbers the sequence a(n)^(1/n) is decreasing and with this property a(n)-a(n-1) is maximal. Note that conjecture 30 of www.primepuzzles.net says A000040(n)^(1/n) is decreasing. But A000040(n)-A000040(n-1) is not maximal.
LINKS
Carlos Rivera, Conjecture 30. The Firoozbakht Conjecture, The Prime Puzzles and Problems Connection.
EXAMPLE
a(6)=17 because for n=2,...,6 a(n-1)^(1/(n-1))> a(n)^(1/n) and if the prime number p > 17 then a(5)^(1/5)< p^(1/6).
MATHEMATICA
a[1]=2; a[n_] := a[n]=(For[m=PrimePi[a[n-1]]+1, (a[n-1]^(1/(n-1))>Prime[m]^(1/n)), m++ ]; Prime[m-1]); v ={}; Do[v=Append[v, a[n]]; Print[v], {n, 47}]
CROSSREFS
Cf. A000040.
Sequence in context: A237288 A293074 A005105 * A235213 A188552 A378570
KEYWORD
nonn
AUTHOR
Farideh Firoozbakht, Sep 11 2003
STATUS
approved