cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

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
Offset: 1

Views

Author

Paolo P. Lava, Jun 21 2016

Keywords

Examples

			47 mod 44 + 53 mod 44 + 59 mod 44 + 61 mod 44 = 3 + 9 + 15 + 17 = 44.
		

Crossrefs

Programs

  • 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);

Extensions

Name corrected by David A. Corneth, Jun 22 2016