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

 


Fully multiplicative with a(p^e) = (p mod 3)^e.
6

%I #5 Oct 05 2018 11:10:10

%S 1,2,0,4,2,0,1,8,0,4,2,0,1,2,0,16,2,0,1,8,0,4,2,0,4,2,0,4,2,0,1,32,0,

%T 4,2,0,1,2,0,16,2,0,1,8,0,4,2,0,1,8,0,4,2,0,4,8,0,4,2,0,1,2,0,64,2,0,

%U 1,8,0,4,2,0,1,2,0,4,2,0,1,32,0,4,2,0,4,2,0,16,2,0,1,8,0,4,2,0,1,2,0,16,2,0,1,8,0,4,2,0,1,8,0,16,2,0,4,8,0,4

%N Fully multiplicative with a(p^e) = (p mod 3)^e.

%H Antti Karttunen, <a href="/A319690/b319690.txt">Table of n, a(n) for n = 1..65537</a>

%o (PARI) A319690(n) = { my(f=factor(n)); prod(i=1, #f~, (f[i, 1]%3)^f[i, 2]); };

%Y Cf. A065338, A319691.

%K nonn,mult

%O 1,2

%A _Antti Karttunen_, Oct 04 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 08:59 EDT 2024. Contains 376097 sequences. (Running on oeis4.)