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!)
A098002 Sum of squares of distinct prime divisors p of n, where each p <= sqrt(n). 6
0, 0, 0, 4, 0, 4, 0, 4, 9, 4, 0, 13, 0, 4, 9, 4, 0, 13, 0, 4, 9, 4, 0, 13, 25, 4, 9, 4, 0, 38, 0, 4, 9, 4, 25, 13, 0, 4, 9, 29, 0, 13, 0, 4, 34, 4, 0, 13, 49, 29, 9, 4, 0, 13, 25, 53, 9, 4, 0, 38, 0, 4, 58, 4, 25, 13, 0, 4, 9, 78, 0, 13, 0, 4, 34, 4, 49, 13, 0, 29, 9, 4, 0, 62, 25, 4, 9, 4, 0, 38, 49 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
G.f.: Sum_{k>=1} prime(k)^2 * x^(prime(k)^2) / (1 - x^prime(k)). - Ilya Gutkovskiy, Aug 19 2021
EXAMPLE
2 and 3 are the distinct prime divisors of 12 and both 2 and 3 are <= sqrt(12), so a(12) = 2^2 + 3^2 = 13.
MATHEMATICA
ssdpd[n_]:=Total[Select[Transpose[FactorInteger[n]][[1]], #<=Sqrt[n]&]^2]; Join[{0}, Array[ssdpd, 90, 2]] (* Harvey P. Dale, Mar 11 2013 *)
PROG
(PARI) a(n) = sumdiv(n, d, isprime(d)*(d^2<=n)*d^2); \\ Michel Marcus, Dec 22 2017
CROSSREFS
Cf. A097974.
Sequence in context: A347156 A292142 A345450 * A241658 A256719 A362209
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 08 2004
EXTENSIONS
More terms from John W. Layman, Sep 14 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 July 26 05:00 EDT 2024. Contains 374615 sequences. (Running on oeis4.)