login
A126812
Ramanujan numbers (A000594) read mod 4.
4
1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0
OFFSET
1,5
LINKS
H. P. F. Swinnerton-Dyer, On l-adic representations and congruences for coefficients of modular forms, pp. 1-55 of Modular Functions of One Variable III (Antwerp 1972), Lect. Notes Math., 350, 1973.
MATHEMATICA
Mod[#, 4] & /@ RamanujanTau@ Range@ 105 (* Michael De Vlieger, Nov 26 2017 *)
PROG
(PARI) A126812(n) = (ramanujantau(n)%4); \\ Antti Karttunen, Nov 26 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 25 2007
STATUS
approved