OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[2 10^7], Complement[IntegerDigits[Binomial[# + 1, 2]], {0, 1, 9}] == {}&] (* Vincenzo Librandi, Oct 07 2015 *)
Position[Accumulate[Range[2*10^8]], _?(SubsetQ[{0, 1, 9}, IntegerDigits[ #]]&), Heads->False]//Flatten (* Harvey P. Dale, Dec 01 2018 *)
PROG
(Magma) [n: n in [1..2*10^7] | Set(Intseq(Binomial(n+1, 2))) subset [0, 1, 9]]; // Vincenzo Librandi, Oct 07 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, May 10 2006
STATUS
approved
