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
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jan 19 2014
STATUS
approved