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!)
A338818 Primes p such that the sum of squares of primes < p is divisible by p. 0
2, 13, 59, 118259, 182603 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes prime(n) such that A024450(n) is divisible by prime(n).
LINKS
EXAMPLE
a(3) = 59 = prime(17) is in the sequence because A024450(17)=16756 is divisible by 59.
MAPLE
P:= select(isprime, [2, seq(i, i=3..10^6, 2)]):
S:= ListTools:-PartialSums(map(`^`, P, 2)):
map(t -> P[t], select(t -> S[t] mod P[t]=0, [$1..nops(P)]);
PROG
(PARI) lista(nn) = {my(s=0, list=List()); forprime(p=2, nn, s += p^2; if (!(s % p), listput(list, p)); ); Vec(list); } \\ Michel Marcus, Nov 11 2020
CROSSREFS
Sequence in context: A042061 A229736 A187560 * A290721 A354942 A205532
KEYWORD
nonn,more
AUTHOR
J. M. Bergot and Robert Israel, Nov 10 2020
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 18:00 EDT 2024. Contains 371797 sequences. (Running on oeis4.)