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!)
A274423 Let s(n,j) be Sum_{i=1..j} (prime(primepi(n) + i) mod n). Numbers n such that there exists j with s(n,j) = n. 3
2, 3, 4, 6, 8, 44, 48, 66, 90, 108, 156, 206, 284, 854, 1002, 1188, 1194, 1212, 1320, 2234, 2460, 2792, 3336, 3478, 7096, 7164, 7218, 7236, 7752, 8304, 9164, 10272, 12090, 12594, 13322, 15530, 17038, 17162, 18026, 18212, 20412, 20494, 21966, 23374, 23518, 24664 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
47 mod 44 + 53 mod 44 + 59 mod 44 + 61 mod 44 = 3 + 9 + 15 + 17 = 44.
MAPLE
P:=proc(q) local a, b, k, n; for n from 2 to q do a:=0;
b:=nextprime(n); while n>a do a:=a+(b mod n); b:=nextprime(b); od;
if n=a then print(n); fi; od; end: P(10^9);
CROSSREFS
Sequence in context: A144722 A105808 A124058 * A118080 A136561 A112868
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, Jun 21 2016
EXTENSIONS
Name corrected by David A. Corneth, Jun 22 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 April 16 10:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)