|
|
A048357
|
|
a(n) is the index of the smallest triangular number containing exactly n 2's.
|
|
1
|
|
|
6, 49, 215, 651, 6651, 66367, 206020, 635959, 6651759, 21411348, 66651759, 666816649, 666651759, 6666651759, 64687340681, 210818509825, 1115546688777, 6666665142651
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
nsmall = Table[Infinity, 20];
For[i = 0, i <= 10^6, i++, p = PolygonalNumber[i];
n0 = Count[IntegerDigits[p], 2];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|