OFFSET
1,2
COMMENTS
After 0, A002280 is a subsequence because A000217(A002280(m)) = (2*(10^m-1)/9)*10^m + (10^m-1)/9, which provides numbers of the type 22..2211..11 where 2's and 1's are repeated m times. - Bruno Berselli, Feb 24 2016
LINKS
MATHEMATICA
Select[Range[2 10^7], Complement[IntegerDigits[# (# + 1)/2], {1, 2, 4}] == {} &] (* Vincenzo Librandi, Feb 24 2016 *)
PROG
(Magma) [n: n in [1..2*10^7] | Set(Intseq(n*(n+1) div 2)) subset [1, 2, 4]]; // Vincenzo Librandi, Feb 24 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, May 10 2006
STATUS
approved
