login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029942 Numbers n such that decimal expansion of n^3 contains n as a substring. 5
0, 1, 4, 5, 6, 9, 10, 24, 25, 32, 40, 49, 50, 51, 56, 60, 75, 76, 90, 99, 100, 125, 240, 249, 250, 251, 375, 376, 400, 490, 499, 500, 501, 510, 600, 624, 625, 749, 750, 751, 760, 782, 875, 900, 990, 999, 1000, 1249, 1250, 2400, 2490, 2500, 2510 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

EXAMPLE

24 is a term as 24^3 = 13824 contains 24 as a substring, 250 is a term as 250^3 = 1562500 contains 250 as a substring.

6^3 = 21_6, 782^3 = 4_782_11768.

MATHEMATICA

n3ssQ[n_]:=Module[{idn=IntegerDigits[n], idn3=Partition[ IntegerDigits[ n^3], IntegerLength[n], 1]}, MemberQ[idn3, idn]]; Join[{0}, Select[Range[ 2600], n3ssQ]] (* From Harvey P. Dale, Jan 23 2012 *)

CROSSREFS

Cf. A018834, A075904, A075905.

Sequence in context: A159629 A082812 A075903 * A162016 A206822 A195993

Adjacent sequences:  A029939 A029940 A029941 * A029943 A029944 A029945

KEYWORD

nonn,base,nice

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 20:54 EST 2012. Contains 205966 sequences.