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!)
A235810 Numbers n such that n^3 has one or more occurrences of exactly eight different digits. 3
289, 297, 302, 319, 467, 494, 515, 557, 562, 595, 621, 623, 676, 682, 709, 712, 721, 862, 887, 909, 939, 945, 949, 963, 984, 987, 1012, 1015, 1016, 1025, 1029, 1043, 1049, 1065, 1075, 1087, 1104, 1106, 1107, 1114, 1118, 1132, 1137, 1154, 1161, 1167, 1178 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
289 is in the sequence because 289^3 = 24137569, which contains exactly eight different digits.
PROG
(PARI) s=[]; for(n=1, 1500, if(#vecsort(eval(Vec(Str(n^3))), , 8)==8, s=concat(s, n))); s
(Python)
A235810_list, m = [], [6, -6, 1, 0]
for n in range(1, 10**3+1):
....for i in range(3):
........m[i+1] += m[i]
....if len(set(str(m[-1]))) == 8:
........A235810_list.append(n) # Chai Wah Wu, Nov 05 2014
(Magma) [n: n in [0..1200] | #Set(Intseq(n^3)) eq 8]; // Vincenzo Librandi, Nov 07 2014
CROSSREFS
Sequence in context: A221203 A188367 A184046 * A229906 A008367 A287934
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 19 2014
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 16 17:08 EDT 2024. Contains 371749 sequences. (Running on oeis4.)