login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076341 Imaginary part of the function defined multiplicatively on the complex numbers by 2->(2,0) and p->((floor(p/4)+floor((p mod 4)/2))*4,2-(p mod 4)) for odd primes p. 13
0, 0, -1, 0, 1, -2, -1, 0, -8, 2, -1, -4, 1, -2, 0, 0, 1, -16, -1, 4, -12, -2, -1, -8, 8, 2, -47, -4, 1, 0, -1, 0, -16, 2, 4, -32, 1, -2, -8, 8, 1, -24, -1, -4, -17, -2, -1, -16, -16, 16, -12, 4, 1, -94, 8, -8, -24, 2, -1, 0, 1, -2, -79, 0, 16, -32, -1, 4, -28, 8, -1, -64, 1, 2, 17, -4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(A000040(n)) = A070750(n).
a(A001358(n)) = A076344(n).
a(A000961(n)) = A076346(n).
a(A005117(n)) = A076348(n).
a(A000290(n)) = A076350(n);
a(A076351(n)) = 0.
EXAMPLE
n=21: 21 = 3*7 = (4-1)*(8-1) = (4,-1)*(8,-1) -> (32-(-1)*(-1),-4+(-8)) = (31,-12), therefore a(21)=-12, A076340(21)=31;
n=35: 35 = 5*7 = (4+1)*(8-1) = (4,1)*(8,-1) -> (32-1*(-1),-4+8) = (33,4), therefore a(35)=4, A076340(35)=33.
MATHEMATICA
b[n_] := If[n == 1, 1, Product[{p, e} = pe; If[p == 2, 2, ((Floor[p/4] + Floor[Mod[p, 4]/2])*4 + (2 - Mod[p, 4]) I)]^e, {pe, FactorInteger[n]}]];
a[n_] := Im[b[n]];
Array[a, 100] (* Jean-François Alcover, Dec 12 2021 *)
CROSSREFS
Real part = A076340.
Sequence in context: A075615 A195284 A351263 * A110510 A337506 A327363
KEYWORD
sign
AUTHOR
Reinhard Zumkeller, Oct 08 2002
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)