|
|
A048360
|
|
a(n) is the index of the smallest triangular number containing exactly n 5's.
|
|
1
|
|
|
5, 10, 105, 714, 5010, 34221, 103494, 317885, 3243010, 1054130, 55708989, 280555005, 1051237885, 5206833885, 30184681729, 105409283410, 1053999578610, 1005540238434
(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], 5];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|