|
|
A048362
|
|
a(n) is the index of the smallest triangular number containing exactly n 7's.
|
|
1
|
|
|
12, 59, 381, 3684, 8692, 70381, 122292, 3762381, 7453707, 18856074, 124721736, 587838545, 3996943276, 18845571218, 27483805332, 394393554074, 1246890354231, 11642661866667
(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], 7];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|