OFFSET
1,2
COMMENTS
The sequence shows long runs of both even and odd terms; in the first 100000 terms the longest run of even terms is 979 while the longest run of odd terms is 3668. In the same range the vast majority of terms with a(n) > n are odd; only 914 even terms are above this line while 60073 odd terms are, the majority of the later having only two prime factors - see the linked image.
Unless the sequence starts with primes no other primes can appear in the sequence, hence is natural to start the sequence with a(1) = 1 and a(2) = 4.
The fixed points begin 1, 25, 548, 1617, 2763, 3897, 5253, although it is likely there are many more.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 100000 terms. Numbers with two, three, four, or five and more prime factors, counted with multiplicity, are show as yellow, green, blue and violet respectively. The white line is a(n) = n.
EXAMPLE
a(3) = 6 as 6 shares a factor with a(2) = 4 and 6/gcd(6,4) = 3, and 3 does not equal any previous term.
a(10) = 8 as 8 shares a factor with a(9) = 12 and 8/gcd(8,12) = 2, and 2 does not equal any previous term.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Scott R. Shannon, Jul 18 2024
STATUS
approved