A165872 Totally multiplicative sequence with a(p^e) = (-2)^e.
1, -2, -2, 4, -2, 4, -2, -8, 4, 4, -2, -8, -2, 4, 4, 16, -2, -8, -2, -8, 4, 4, -2, 16, 4, 4, -8, -8, -2, -8, -2, -32, 4, 4, 4, 16, -2, 4, 4, 16, -2, -8, -2, -8, -8, 4, -2, -32, 4, -8, 4, -8, -2, 16, 4, 16, 4, 4, -2, 16, -2, 4, -8, 64, 4, -8, -2, -8, 4, -8, -2, -32, -2, 4, -8, -8, 4, -8, -2, -32, 16, 4, -2, 16, 4, 4, 4, 16
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
(-2)^PrimeOmega[Range[100]] (* G. C. Greubel, Apr 16 2016 *)
-
PARI
a(n) = (-2)^bigomega(n); \\ Altug Alkan, Apr 16 2016
Comments