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 A347245 #14 Feb 10 2022 22:53:58 %S A347245 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0, %T A347245 0,1,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,0,0,1,2,0,0,0,0,0,0,0,1,0,0,0,0,0, %U A347245 0,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,2,0,0,0,0,0,0,1,0,0,0,1 %N A347245 Number of iterations of the map x -> A000593(x), when starting from x = n, needed to reach a number whose largest prime factor is at least as large as that of n itself (= A006530(n)). If 1 is reached without encountering such a number, then a(n) = 0. %C A347245 For any hypothetical odd perfect number x, a(x) = 1. %C A347245 The first occurrence of k = 0 .. 5 is at n = 0, 9, 55, 935, 102753, 262205. %H A347245 Antti Karttunen, <a href="/A347245/b347245.txt">Table of n, a(n) for n = 1..102753</a> %H A347245 <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a> %F A347245 For n >= 1, a(n) = 0 iff A347244(n) = 0. %F A347245 For n > 1, a(n) = 1 iff A347246(n) = 1. %e A347245 For n = 55 = 5*11, on the first iteration we get A000593(55) = 72 = 2^3 * 3^2, but both 2 and 3 are less than 11, thus on the second iteration, we get A000593(72) = 13, which is the first time when the largest prime factor is larger than that of 55 (13 > 11), thus a(55) = 2. %o A347245 (PARI) %o A347245 A000265(n) = (n >> valuation(n, 2)); %o A347245 A000593(n) = sigma(A000265(n)); %o A347245 A006530(n) = if(1==n, n, my(f=factor(n)); f[#f~, 1]); %o A347245 A347245(n) = { my(gpf=A006530(n), k=0); while(n>1, n = A000593(n); k++; if(A006530(n)>=gpf,return(k))); (0); }; %Y A347245 Cf. A000593, A006530, A336361, A347240, A347242 (positions of terms > 0), A347243 (positions of zeros), A347244, A347246. %K A347245 nonn %O A347245 1,55 %A A347245 _Antti Karttunen_, Aug 28 2021