|
|
A119100
|
|
Numbers k such that the k-th triangular number contains only digits {1,2,4}.
|
|
2
|
|
|
1, 6, 66, 666, 1686, 2913, 6666, 9406, 15761, 66666, 666666, 6666666, 47140518, 66666666, 206951318, 666666666, 1512753193, 6666666666, 9406509886, 66666666666, 297026066681, 666666666666, 6666666666666, 66666666666666
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
See A119034 for a table of cross-references.
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|