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!)
A353490 The largest proper divisor of n, reduced modulo 4, with a(1) = 1. 7
1, 1, 1, 2, 1, 3, 1, 0, 3, 1, 1, 2, 1, 3, 1, 0, 1, 1, 1, 2, 3, 3, 1, 0, 1, 1, 1, 2, 1, 3, 1, 0, 3, 1, 3, 2, 1, 3, 1, 0, 1, 1, 1, 2, 3, 3, 1, 0, 3, 1, 1, 2, 1, 3, 3, 0, 3, 1, 1, 2, 1, 3, 1, 0, 1, 1, 1, 2, 3, 3, 1, 0, 1, 1, 1, 2, 3, 3, 1, 0, 3, 1, 1, 2, 1, 3, 1, 0, 1, 1, 1, 2, 3, 3, 3, 0, 1, 1, 1, 2, 1, 3, 1, 0, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A010873(A032742(n)).
PROG
(PARI)
A032742(n) = if(1==n, n, n/vecmin(factor(n)[, 1]));
A353490(n) = (A032742(n)%4);
(Python)
from sympy import factorint
def a(n): return 1 if n==1 else (n//min(factorint(n)))%4
print([a(n) for n in range(1, 106)]) # Michael S. Branicky, Apr 26 2022
CROSSREFS
Sequence in context: A172038 A331363 A359368 * A226131 A334318 A199056
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 22 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 April 23 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)