This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A185679 Number of digits in decimal expansion of n^2. 3
 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 LINKS G. C. Greubel, Table of n, a(n) for n = 0..5000 FORMULA a(n) = 1 + floor(log(10, n^2)) for n>0. EXAMPLE a(33)=4 since 33^2=1089 has 4 digits. MATHEMATICA Table[Length[IntegerDigits[n^2]], {n, 0, 100}] Join[{1}, IntegerLength[Range[100]^2]] (* Harvey P. Dale, Sep 17 2019 *) PROG (PARI) concat([1], for(n=1, 50, print1(1 + floor(log(n^2)/log(10)), ", "))) \\ G. C. Greubel, Jul 10 2017 CROSSREFS Cf. A055642. Sequence in context: A320857 A211664 A182434 * A080342 A081604 A123119 Adjacent sequences:  A185676 A185677 A185678 * A185680 A185681 A185682 KEYWORD nonn,base AUTHOR Carmine Suriano, Feb 23 2011 STATUS approved

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

Last modified December 15 11:43 EST 2019. Contains 329999 sequences. (Running on oeis4.)