[go: up one dir, main page]

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!)
A353455 a(n) = A353454(A064989(n)). 2
1, 1, -1, 1, 1, -1, -1, 1, 0, 1, 1, -1, -1, -1, 1, 1, 1, 0, -1, 1, 1, 1, 1, -1, 0, -1, 0, -1, -1, 1, 1, 1, 1, 1, -1, 0, -1, -1, 1, 1, 1, 1, -1, 1, 2, 1, 1, -1, 0, 0, 1, -1, -1, 0, -3, -1, 1, -1, 1, 1, -1, 1, 0, 1, -1, 1, 1, 1, 1, -1, -1, 0, 1, -1, 0, -1, 1, 1, -1, 1, 0, 1, 1, 1, -3, -1, 1, 1, -1, 2, -3, 1, 1, 1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,45
LINKS
FORMULA
For all n >= 1, a(A000040(n)) = ((-1)^(n-1)).
PROG
(PARI)
A000265(n) = (n>>valuation(n, 2));
A064989(n) = { my(f=factor(A000265(n))); for(i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f); };
memoA353454 = Map();
A353454(n) = if(1==n, 1, my(v); if(mapisdefined(memoA353454, n, &v), v, v = -sumdiv(n, d, if(d<n, A353454(A064989(n))*A353454(d), 0)); mapput(memoA353454, n, v); (v)));
CROSSREFS
Cf. also A353458.
Sequence in context: A255319 A214088 A005091 * A276516 A346100 A253638
KEYWORD
sign
AUTHOR
Antti Karttunen, Apr 21 2022
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 August 29 23:09 EDT 2024. Contains 375519 sequences. (Running on oeis4.)