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

A030692
Smallest nontrivial extension of n-th cube which is a prime.
1
11, 83, 271, 641, 1259, 2161, 3433, 51217, 7297, 10007, 13313, 172829, 21977, 27449, 33751, 40961, 49139, 58321, 68597, 800011, 926111, 106487, 1216711, 138241, 156253, 1757617, 196831, 219523, 2438911, 270001, 297911, 327689
OFFSET
1,1
COMMENTS
Extensions here cannot contain leading 0's, otherwise we would have a(8)=51203. - Sean A. Irvine, Apr 05 2020
LINKS
MATHEMATICA
necp[n_]:=Module[{idn=IntegerDigits[n], k=1}, While[!PrimeQ[ FromDigits[ Join[ idn, IntegerDigits[k]]]], k=k+2]; FromDigits[Join[idn, IntegerDigits[ k]]]]; necp/@(Range[40]^3) (* Harvey P. Dale, Dec 11 2013 *)
PROG
(PARI) a(n) = {my(k=1); while(!isprime(x=eval(concat(Str(n^3), Str(k)))), k++); x; }; \\ Michel Marcus, Apr 07 2020
CROSSREFS
Different from A029949.
Cf. A030685 (for squares).
Sequence in context: A123367 A177142 A129388 * A294831 A055369 A016282
KEYWORD
nonn,base
STATUS
approved