login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A295900 Numbers n such that n^3 contains the consecutive substring 2,3,5,7. 1
1331, 3108, 3176, 4093, 4643, 5846, 6178, 6797, 9175, 10731, 13076, 13245, 13309, 13310, 14093, 14526, 16291, 17852, 20095, 20791, 21835, 23635, 23766, 24093, 28452, 28672, 28673, 28674, 28675, 29211, 31080, 31760, 33907, 34093, 34986, 36449, 38538, 38599, 39526 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Sequence in context: A038677 A202457 A252347 * A030100 A017283 A017391
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Nov 29 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)