login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A113651
2*JacobiSymbol(p,5) mod p^2 for p=prime(n).
1
2, 7, 0, 47, 2, 167, 287, 2, 527, 2, 2, 1367, 2, 1847, 2207, 2807, 2, 2, 4487, 2, 5327, 2, 6887, 2, 9407, 2, 10607, 11447, 2, 12767, 16127, 2, 18767, 2, 2, 2, 24647, 26567, 27887, 29927, 2, 2, 2, 37247, 38807, 2, 2, 49727, 51527, 2, 54287, 2, 2, 2, 66047
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Wall-Sun-Sun Prime
PROG
(PARI) a(n) = my(p=prime(n)); 2*kronecker(p, 5) % p^2; \\ Michel Marcus, Aug 03 2014
CROSSREFS
Sequence in context: A282299 A282414 A282681 * A021373 A199950 A364873
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Nov 03 2005
STATUS
approved