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!)
A167314 Totally multiplicative sequence with a(p) = 4*(p-3) for prime p. 1
1, -4, 0, 16, 8, 0, 16, -64, 0, -32, 32, 0, 40, -64, 0, 256, 56, 0, 64, 128, 0, -128, 80, 0, 64, -160, 0, 256, 104, 0, 112, -1024, 0, -224, 128, 0, 136, -256, 0, -512, 152, 0, 160, 512, 0, -320, 176, 0, 256, -256, 0, 640, 200, 0, 256, -1024, 0, -416, 224, 0, 232 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Multiplicative with a(p^e) = (4*(p-3))^e. If n = Product p(k)^e(k) then a(n) = Product (4*(p(k)-3))^e(k).
a(3k) = 0 for k >= 1.
a(n) = A165825(n) * A166589(n) = 4^bigomega(n) * A166589(n) = 4^A001222(n) * A166589(n).
MATHEMATICA
a[1] = 1; a[n_] := (fi = FactorInteger[n]; Times @@ ((fi[[All, 1]] - 3)^fi[[All, 2]])); Table[a[n]*4^PrimeOmega[n], {n, 1, 100}] (* G. C. Greubel, Jun 08 2016 *)
f[p_, e_] := (4*(p-3))^e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 21 2023 *)
CROSSREFS
Sequence in context: A086262 A167361 A321610 * A208451 A207541 A158802
KEYWORD
sign,easy,mult
AUTHOR
Jaroslav Krizek, Nov 01 2009
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 23 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)