The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A276197 Prime numbers p such that the sum of the first p odd primes is divisible by p. 0
2, 3, 73, 3420839 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes in A097961. - Altug Alkan, Aug 24 2016
a(5) > 10^10. - Dana Jacobsen, Sep 29 2016
LINKS
EXAMPLE
a(2) = 3 since 3+5+7 = 15 is divisible by the prime number 3.
PROG
(PARI) a071148(n) = sum(k=2, n+1, prime(k))
isdivisible(n) = Mod(a071148(n), n)==0
terms(n) = my(i=0, p=2); while(i < n, if(isdivisible(p), print1(p, ", "); i++); p=nextprime(p+1))
/* The following function call prints the initial four terms */
terms(4) \\ Felix Fröhlich, Aug 24 2016
(Perl) use ntheory ":all"; my($s, $l, $pr)=(0, 0, prime_iterator(3)); forprimes { $s += $pr->() for $l+1 .. $_; $l=$_; say unless $s % $_; } 1e7; # Dana Jacobsen, Sep 23 2016
CROSSREFS
Sequence in context: A145531 A140546 A234237 * A042233 A176290 A371143
KEYWORD
nonn,hard,more
AUTHOR
G. L. Honaker, Jr., Aug 24 2016
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 June 7 20:29 EDT 2024. Contains 373206 sequences. (Running on oeis4.)