login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048355 a(n) is the index of the smallest triangular number containing exactly n 0's. 11
0, 24, 200, 775, 2000, 10000, 20000, 100000, 200000, 1000000, 2000000, 10000000, 20000000, 100000000, 200000000, 1000000000, 2000000000, 10000000000, 20000000000, 100000000000, 200000000000, 1000000000000, 2000000000000, 10000000000000, 20000000000000, 100000000000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Triangular Number
FORMULA
From Bernard Schott, Mar 04 2019: (Start)
for n odd >= 5, a(n) = 2 * 10^((n+1)/2),
for n even >= 6, a(n) = 10^((n+2)/2).
(End)
From Colin Barker, Mar 25 2020: (Start)
G.f.: x^2*(24 + 200*x + 535*x^2 + 2250*x^4) / (1 - 10*x^2).
a(n) = 10*a(n-2) for n>4.
(End)
EXAMPLE
From Bernard Schott, Mar 04 2019: (Start)
a(2) = 24: T(24) = 300 which contains exactly two 0's.
a(6) = 10000: T(10000) = 50005000 which contains exactly six 0's.
a(7) = 20000: T(20000) = 200010000 which contains exactly seven 0's.
(End)
MATHEMATICA
nsmall = Table[Infinity, 20];
For[i = 0, i <= 10^6, i++, p = PolygonalNumber[i];
n0 = Count[IntegerDigits[p], 0];
If[nsmall[[n0]] > i, nsmall[[n0]] = i]];
ReplaceAll[nsmall, Infinity -> "?"] (* Robert Price, Mar 22 2020 *)
PROG
(PARI) Vec(x^2*(24 + 200*x + 535*x^2 + 2250*x^4) / (1 - 10*x^2) + O(x^30)) \\ Colin Barker, Mar 25 2020
CROSSREFS
Sequence in context: A260358 A198396 A225296 * A132458 A055857 A239574
KEYWORD
nonn,base,easy
AUTHOR
Patrick De Geest, Mar 15 1999
EXTENSIONS
a(16)-a(19) from Lars Blomberg, May 13 2011
a(20)-a(26) from Chai Wah Wu, Mar 04 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)