OFFSET
1,1
COMMENTS
The three primes are not necessarily all distinct. All even terms k are == 8 (mod 10) (and hence k^3 == 2 (mod 10)).
EXAMPLE
13^3 = 2197 => { 2, 19, 7};
15^3 = 3375 => { 3, 37, 5};
18^3 = 5832 => { 5, 83, 2};
43^3 = 79507 => {79, 5, 07} (first case with leading zero);
48^3 = 110592 => {11, 059, 2} (next case with leading zero).
MATHEMATICA
s={}; Do[id=IntegerDigits[n^3]; Le=Length@id; Do[t=FromDigits/@{Take[id, k], Take[id, {k+1, m}], Take[id, m-Le]}; If[PrimeQ[t]=={True, True, True}, AppendTo[s, n]; Goto[ne]], {k, Le-2}, {m, k+1, Le-1}]; Label[ne], {n, 5, 800}]; s
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Oct 16 2009
EXTENSIONS
Edited by Charles R Greathouse IV, Mar 23 2010
STATUS
approved