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!)
A167316 Totally multiplicative sequence with a(p) = 6*(p-3) for prime p. 1
1, -6, 0, 36, 12, 0, 24, -216, 0, -72, 48, 0, 60, -144, 0, 1296, 84, 0, 96, 432, 0, -288, 120, 0, 144, -360, 0, 864, 156, 0, 168, -7776, 0, -504, 288, 0, 204, -576, 0, -2592, 228, 0, 240, 1728, 0, -720, 264, 0, 576, -864, 0, 2160, 300, 0, 576, -5184, 0, -936, 336 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Multiplicative with a(p^e) = (6*(p-3))^e. If n = Product p(k)^e(k) then a(n) = Product (6*(p(k)-3))^e(k).
a(3k) = 0 for k >= 1.
a(n) = A165827(n) * A166589(n) = 6^bigomega(n) * A166589(n) = 6^A001222(n) * A166589(n).
MATHEMATICA
a[1] = 1; a[n_] := (fi = FactorInteger[n]; Times @@ ((fi[[All, 1]] - 3)^fi[[All, 2]])); Table[a[n]*6^PrimeOmega[n], {n, 1, 100}] (* G. C. Greubel, Jun 09 2016 *)
f[p_, e_] := (6*(p-3))^e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 22 2023 *)
CROSSREFS
Sequence in context: A209446 A047762 A186977 * A270607 A051768 A262888
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 March 29 04:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)