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!)
A083379 a(n) = the number of squares with at most n digits and first digit 1. 4
1, 2, 7, 20, 62, 193, 608, 1918, 6061, 19160, 60582, 191568, 605782, 1915640, 6057776, 19156359, 60577716, 191563545, 605777108, 1915635402 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Asymptotically, the probability that a square begins with 1 is (sqrt(2)-1)/(sqrt(10)-1).
A generalization to arbitrary powers is found in Hürlimann, 2004. As the power increases, the probability distribution approaches Benford's law.
LINKS
W. Hürlimann, Integer powers and Benford's law, International Journal of Pure and Applied Mathematics, vol. 11, no. 1, pp. 39-46, 2004.
MAPLE
ListTools:-PartialSums([seq(floor(sqrt(2*10^n))-ceil(sqrt(10^n))+1, n=0..20)]); # Robert Israel, Feb 15 2021
CROSSREFS
Sequence in context: A116408 A015518 A014983 * A216246 A322202 A000935
KEYWORD
base,easy,nonn
AUTHOR
Werner S. Hürlimann (whurlimann(AT)bluewin.ch), Jun 05 2003
EXTENSIONS
Edited by Don Reble, Nov 05 2005
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 May 3 16:42 EDT 2024. Contains 372221 sequences. (Running on oeis4.)