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!)
A306604 Number of perfect squares in the half-open interval [Pi^(n-1), Pi^n). 2
0, 1, 2, 2, 4, 8, 14, 23, 43, 75, 134, 236, 419, 743, 1316, 2333, 4135, 7329, 12992, 23026, 40813, 72338, 128218, 227259, 402806, 713955, 1265453, 2242956, 3975538, 7046456, 12489518, 22137096, 39236979, 69545736, 123266607, 218484372, 387253468, 686388899 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Inspired by A306486.
LINKS
FORMULA
a(n) = ceiling(Pi^(n/2)) - ceiling(Pi^((n-1)/2)).
a(n) = A102477(n) - A102477(n-1).
Sum_{i=0..n} a(i) = A102475(n) for n > 0.
Lim_{n->oo} a(n+1)/a(n) = sqrt(Pi) = 1.7724538509... = A002161.
EXAMPLE
a(4) = 4: in the interval [Pi^3, Pi^4) = [31.006..., 97.409...) = are four perfect squares: 36, 49, 64, 81.
MAPLE
a:= n-> (f-> f(n)-f(n-1))(i-> ceil(Pi^(i/2))):
seq(a(n), n=0..42);
CROSSREFS
Sequence in context: A042979 A000018 A357307 * A354784 A075126 A300998
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 27 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 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)