|
|
A048356
|
|
a(n) is the index of the smallest triangular number containing exactly n 1's.
|
|
1
|
|
|
1, 18, 58, 458, 1541, 6018, 47141, 149406, 471404, 4756366, 15563541, 149075893, 149004101, 149071198, 14907133333, 47322533981, 471406654834, 1510636363333
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
nsmall = Table[Infinity, 20];
For[i = 0, i <= 10^6, i++, p = PolygonalNumber[i];
n0 = Count[IntegerDigits[p], 1];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|