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!)
A324336 a(n) = A323893(A005940(1+n)). 4
1, -2, -3, -1, -4, 4, -4, -2, -6, 5, 6, 3, -9, 8, -12, -4, -7, 7, 8, 4, 9, 5, 16, 8, -25, 18, 27, 8, -36, 32, -36, -8, -9, 8, 9, 6, 10, 11, 24, 11, 12, 20, 49, 6, 54, 4, 72, 20, -36, 50, 75, 18, 100, 0, 72, 16, -150, 99, 162, 24, -144, 120, -108, -16, -10, 10, 11, 7, 12, 14, 28, 17, 14, 25, 60, 12, 63, 12, 112, 28, 15, 47, 106, 21, 165, -110, 84, -5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A323893(A005940(1+n)).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940
A003961(n) = my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); \\ From A003961
A048673(n) = (A003961(n)+1)/2;
memoA323893 = Map();
A323893(n) = if(1==n, 1, my(v); if(mapisdefined(memoA323893, n, &v), v, v = -sumdiv(n, d, if(d<n, A048673(n/d)*A323893(d), 0)); mapput(memoA323893, n, v); (v)));
A324336(n) = A323893(A005940(1+n));
CROSSREFS
Sequence in context: A258263 A096180 A354265 * A324752 A298637 A034867
KEYWORD
sign
AUTHOR
Antti Karttunen, Feb 23 2019
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 20 00:26 EDT 2024. Contains 371798 sequences. (Running on oeis4.)