login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A373247
a(n) = n mod A181819(n), where A181819(n) is the prime shadow of n.
6
0, 0, 1, 1, 1, 2, 1, 3, 0, 2, 1, 0, 1, 2, 3, 2, 1, 0, 1, 2, 1, 2, 1, 4, 1, 2, 2, 4, 1, 6, 1, 10, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 1, 2, 3, 2, 1, 6, 1, 2, 3, 4, 1, 4, 3, 6, 1, 2, 1, 0, 1, 2, 3, 12, 1, 2, 1, 2, 1, 6, 1, 12, 1, 2, 3, 4, 1, 6, 1, 10, 4, 2, 1, 0, 1, 2, 3, 8, 1, 6, 3, 2, 1, 2, 3, 8, 1, 2, 3, 1, 1, 6, 1, 4, 1
OFFSET
1,6
LINKS
PROG
(PARI)
A181819(n) = factorback(apply(e->prime(e), (factor(n)[, 2])));
A373247(n) = (n%A181819(n));
CROSSREFS
Cf. A325755 (positions of 0's), A353566 (their characteristic function).
Sequence in context: A199580 A035215 A147654 * A321377 A071467 A125073
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 29 2024
STATUS
approved