OFFSET
1,1
COMMENTS
All terms == 0 or 1 (mod 3). - Robert Israel, May 20 2026
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
9 is in the list because the concatenation of 9^3 9^2 9^1 9^0 is 7298191 and this number is prime.
MAPLE
lcat:= proc(L) local x, i;
x:= L[1];
for i from 2 to nops(L) do
x:= x*10^(1+ilog10(L[i]))+L[i]
od;
x
end proc:
filter:= n -> isprime(lcat([n^3, n^2, n, 1])):
select(filter, [$1..5000]); # Robert Israel, May 20 2026
MATHEMATICA
Select[Range[1000], PrimeQ[FromDigits[Flatten[IntegerDigits/@ (#^Range[ 3, 0, -1])]]]&] (* Harvey P. Dale, Jul 27 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, Jul 05 2011
EXTENSIONS
More terms from Robert Israel, May 20 2026
STATUS
approved
