login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Colin Barker, Table of n, a(n) for n = 1..1000

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

Cf. A030292, A155146, A155147, A235807-A235809, A235811, A119735.

Sequence in context: A221203 A188367 A184046 * A229906 A008367 A287934

Adjacent sequences:  A235807 A235808 A235809 * A235811 A235812 A235813

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 14 21:10 EDT 2021. Contains 345040 sequences. (Running on oeis4.)