This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A091395 a(n) = Product_{ p | n } (1 + Legendre(-7,p) ). 2
 1, 2, 0, 2, 0, 0, 1, 2, 0, 0, 2, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 4, 2, 0, 0, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 4, 0, 4, 0, 0, 1, 0, 0, 0, 2, 0, 0, 2, 0, 4, 0, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 2, 0, 0, 4, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 4, 0, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Andrew Howroyd, Table of n, a(n) for n = 1..1000 MAPLE with(numtheory); L := proc(n, N) local i, t1, t2; t1 := ifactors(n)[2]; t2 := mul((1+legendre(N, t1[i][1])), i=1..nops(t1)); end; [seq(L(n, -7), n=1..120)]; PROG (PARI) a(n)={my(f=factor(n)[, 1]); prod(i=1, #f, 1 + kronecker(-7, f[i]))} \\ Andrew Howroyd, Jul 23 2018 CROSSREFS Cf. A091379, A175629. Sequence in context: A260675 A035147 A101673 * A248107 A035220 A227618 Adjacent sequences:  A091392 A091393 A091394 * A091396 A091397 A091398 KEYWORD nonn,mult AUTHOR N. J. A. Sloane, Mar 02 2004 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 20 03:36 EDT 2019. Contains 322294 sequences. (Running on oeis4.)