OFFSET
1,1
COMMENTS
Here, negative integers whose absolute value is prime are considered prime.
LINKS
Dana Jacobsen, Table of n, a(n) for n = 1..1000 (first 23 terms from Eric W. Weisstein)
Eric Weisstein's World of Mathematics, Tau Function Prime.
EXAMPLE
A135430(1) = 63001, and tau(63001) = -80561663527802406257321747, so a(1) = -80561663527802406257321747.
PROG
(PARI) for (x=0, 1000, n=(2*x+1)^2; a=ramanujantau(n); if(isprime(abs(a)), print1(a", "))) \\ Dana Jacobsen, Dec 30 2015
(Perl) use ntheory ":all"; for (0..1000) { my $n = (2*$_+1)**2; my $a = ramanujan_tau($n); say $a if is_prime(abs($a)); } # Dana Jacobsen, Dec 30 2015
CROSSREFS
KEYWORD
sign
AUTHOR
Eric W. Weisstein, Dec 18 2015
STATUS
approved