|
|
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
|
|
|
MAPLE
|
ListTools:-PartialSums([seq(floor(sqrt(2*10^n))-ceil(sqrt(10^n))+1, n=0..20)]); # Robert Israel, Feb 15 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
Werner S. Hürlimann (whurlimann(AT)bluewin.ch), Jun 05 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|