OFFSET
1,2
COMMENTS
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..6912
EXAMPLE
1275 is in the sequence because 1275 = 50 * (50 + 1) / 2, is a triangular number composed of digits 1, 2, 7 and 5.
2145 is in the sequence because 2145 = 65 * (65 + 1) / 2, is a triangular number composed of digits 1, 2, 4 and 5.
a(38) = 451725 is the first occurrence of triangular number using each digit 1, 2, 4, 5 or 7 at least once.
MATHEMATICA
PROG
(Python)
for n in range(10**3):
..s = str(int(n*(n+1)/2))
..if not (s.count('0') + s.count('3') + s.count('6') + s.count('8') + s.count('9')):
....print(int(s), end=', ') # Derek Orr, Sep 19 2014
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
K. D. Bajpai, Sep 09 2014
STATUS
approved