OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000 (terms 1..1933 from Daniel Suteu)
D. H. Lehmer, The Vanishing of Ramanujan's Function tau(n), Duke Mathematical Journal, 14 (1947), pp. 429-433.
D. H. Lehmer, The Vanishing of Ramanujan's Function tau(n), Duke Mathematical Journal, 14 (1947), pp. 429-433. [Annotated scanned copy]
MATHEMATICA
Join[{1}, RamanujanTau[Select[Range[100], PrimePowerQ]]] (* Paolo Xausa, May 11 2024 *)
PROG
(Python)
from itertools import count, islice
from sympy import primefactors, divisor_sigma
def A278577_gen(): # generator of terms
yield 1
for n in count(2):
f = primefactors(n)
if len(f) == 1:
p, m = f[0], n+1>>1
yield (q:=n**4)*(p*n-1)//(p-1)-24*((0 if n&1 else (m*(35*m - 52*n) + 18*n**2)*(m*divisor_sigma(m))**2)+sum((i*(i*(i*(70*i - 140*n) + 90*n**2) - 20*n**3) + q)*divisor_sigma(i)*divisor_sigma(n-i) for i in range(1, m)))
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 29 2016
STATUS
approved