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!)
A284552 a(n) = A065621(n) modulo n. 2
0, 0, 1, 0, 3, 2, 4, 0, 7, 6, 9, 4, 8, 8, 4, 0, 15, 14, 17, 12, 19, 18, 13, 8, 16, 16, 20, 16, 8, 8, 4, 0, 31, 30, 33, 28, 35, 34, 29, 24, 39, 38, 41, 36, 27, 26, 21, 16, 32, 32, 36, 32, 40, 40, 36, 32, 16, 16, 20, 16, 8, 8, 4, 0, 63, 62, 65, 60, 67, 66, 61, 56, 71, 70, 73, 68, 59, 58, 53, 48, 79, 78, 81, 76, 83, 82, 77, 72, 55, 54, 57, 52, 43, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A065621(n) modulo n.
PROG
(Scheme) (define (A284552 n) (modulo (A065621 n) n))
(Python)
def A284552(n): return (n^ (n&~-n)<<1)%n # Chai Wah Wu, Jun 29 2022
CROSSREFS
Column 1 of A284270.
Cf. A065621.
Sequence in context: A127099 A004545 A127481 * A328564 A154879 A097673
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 10 2017
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 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)