OFFSET
1,1
LINKS
Freimut Marschner, Table of n, a(n) for n = 1..1900
FORMULA
Sum_k={1..n} a(k) ~ 12*n. - Amiram Eldar, Dec 12 2024
MATHEMATICA
Mod[Prime[Range[100]], 24] (* Vincenzo Librandi, May 07 2014 *)
PROG
(PARI) a(n) = prime(n) % 24; \\ Joerg Arndt, Oct 01 2013
(Magma) [p mod(24): p in PrimesUpTo(500)]; // Vincenzo Librandi, May 07 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Freimut Marschner, Sep 29 2013
STATUS
approved