login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A048363
a(n) is the index of the smallest triangular number containing exactly n 8's.
1
7, 87, 312, 1287, 10572, 81103, 397212, 881912, 5270652, 7601169, 134021535, 421518419, 1402775027, 4204494972, 42305694389, 397212509427, 1943649189427, 6130065071251
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Triangular Number
MATHEMATICA
nsmall = Table[Infinity, 20];
For[i = 0, i <= 10^6, i++, p = PolygonalNumber[i];
n0 = Count[IntegerDigits[p], 8];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Patrick De Geest, Mar 15 1999
EXTENSIONS
a(13)-a(15) from Lars Blomberg, May 16 2011
a(16)-a(18) from Giovanni Resta, Oct 30 2019
STATUS
approved