This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A091393 a(n) = Product_{ p | n } (1 + Legendre(-3,p) ). 3
 1, 0, 1, 0, 0, 0, 2, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,7 LINKS Antti Karttunen, Table of n, a(n) for n = 1..65537 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, -3), n=1..120)]; PROG (PARI) vecproduct(v) = { my(m=1); for(i=1, #v, m *= v[i]); m; }; A091393(n) = vecproduct(apply(p -> (1 + kronecker(-3, p)), factorint(n)[, 1])); \\ Antti Karttunen, Nov 18 2017 CROSSREFS Cf. A049347, A091379. Sequence in context: A279210 A232243 A034876 * A284557 A182032 A265245 Adjacent sequences:  A091390 A091391 A091392 * A091394 A091395 A091396 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 October 17 15:01 EDT 2019. Contains 328116 sequences. (Running on oeis4.)