OFFSET
1,1
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..200
Paolo P. Lava, First 200 terms with the number of primes j
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
KEYWORD
nonn,easy
AUTHOR
Paolo P. Lava, Jun 21 2016
EXTENSIONS
Name corrected by David A. Corneth, Jun 22 2016
STATUS
approved