OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
EXAMPLE
1331 is in the sequence because 1331^3 = 2357947691 contains substring of prime digits "2357".
3108 is in the sequence because 3108^3 = 30022235712 contains substring of prime digits "2357".
MATHEMATICA
Select[Range[100000], MemberQ[Partition[IntegerDigits[#^3], 4, 1], {2, 3, 5, 7}] &]
PROG
(PARI) isok(n) = {c = n^3; ret = 0; while (c > 1, if ((c % 10000) == 2357, ret = 1; break); c = floor(c/10); ); return (ret); } \\ Michel Marcus, Dec 15 2017
(Python) A295900_list = [n for n in range(1, 10**6) if '2357' in str(n**3)] # Chai Wah Wu, Feb 09 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Nov 29 2017
STATUS
approved