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!)
A090735 Number of positive squarefree numbers <= n that can be expressed as a sum of 2 squares > 0. 4
0, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 100
LINKS
FORMULA
a(n) is asymptotic to (6K/Pi^2)*n/sqrt(log(n)) where K is the Landau-Ramanujan constant (A064533).
MATHEMATICA
Accumulate[Table[Boole[n > 1 && SquareFreeQ[n] && AllTrue[FactorInteger[n][[;; , 1]], Mod[#, 4] < 3 &]], {n, 1, 100}] ] (* Amiram Eldar, May 08 2022 *)
PROG
(PARI) a(n)=sum(i=1, n, issquarefree(i)*if(sum(u=1, i, sum(v=1, u, if(u^2+v^2-i, 0, 1))), 1, 0))
CROSSREFS
Sequence in context: A131849 A362344 A244479 * A090736 A094999 A280951
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jan 18 2004
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 19 16:03 EDT 2024. Contains 371794 sequences. (Running on oeis4.)