cp's OEIS Frontend

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.

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.

Original entry on oeis.org

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, 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, 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
Offset: 1

Views

Author

Antti Karttunen, Aug 28 2021

Keywords

Comments

For any hypothetical odd perfect number x, a(x) = 1.
The first occurrence of k = 0 .. 5 is at n = 0, 9, 55, 935, 102753, 262205.

Examples

			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.
		

Crossrefs

Cf. A000593, A006530, A336361, A347240, A347242 (positions of terms > 0), A347243 (positions of zeros), A347244, A347246.

Programs

Formula

For n >= 1, a(n) = 0 iff A347244(n) = 0.
For n > 1, a(n) = 1 iff A347246(n) = 1.