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”).

A118910
a(1) = 2; a(n) is greatest prime < a(n-1)^3.
3
2, 7, 337, 38272739, 56062005704198360319209, 176199995814327287356671209104585864397055039072110696028654438846269
OFFSET
1,1
COMMENTS
Exponent 3 analog of A059785.
Obverse of this is A051254.
EXAMPLE
a(5) = 62343227157465615355481 = a(4)^3 - 32 = 39651817^3 - 32 and there is no k < 32 such that 39651817^3 - k is prime.
MATHEMATICA
a=2; Join[{2}, Table[a=a^3; While[ !PrimeQ[a], a=a-1]; a, {5}]] (* T. D. Noe, Nov 15 2006 *)
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 05 2006
EXTENSIONS
Corrected by T. D. Noe, Nov 15 2006
STATUS
approved