This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A373247 #6 May 30 2024 10:09:52 %S A373247 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, %T A373247 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, %U A373247 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 %N A373247 a(n) = n mod A181819(n), where A181819(n) is the prime shadow of n. %H A373247 Antti Karttunen, <a href="/A373247/b373247.txt">Table of n, a(n) for n = 1..65537</a> %o A373247 (PARI) %o A373247 A181819(n) = factorback(apply(e->prime(e),(factor(n)[,2]))); %o A373247 A373247(n) = (n%A181819(n)); %Y A373247 Cf. A181819, A373246. %Y A373247 Cf. A325755 (positions of 0's), A353566 (their characteristic function). %K A373247 nonn %O A373247 1,6 %A A373247 _Antti Karttunen_, May 29 2024