PROG
(MAGMAMagma) [n: n in [0..300] | #Set(Intseq(n^3)) eq 6]; // Bruno Berselli, Jan 19 2014
(MAGMAMagma) [n: n in [0..300] | #Set(Intseq(n^3)) eq 6]; // Bruno Berselli, Jan 19 2014
proposed
approved
editing
proposed
(Python)
A235808_list, m = [], [6, -6, 1, 0]
for n in range(1, 10**4+1):
....for i in range(3):
........m[i+1] += m[i]
....if len(set(str(m[-1]))) == 6:
........A235808_list.append(n) # Chai Wah Wu, Nov 05 2014
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Colin Barker, <a href="/A235808/b235808.txt">Table of n, a(n) for n = 1..1000</a>
approved
editing
Numbers n such that n^3 has one or more occurrence occurrences of exactly six different digits.
editing
approved