OFFSET
1,2
COMMENTS
Unlike the EKG sequence A064413 the prime terms are not in their natural order, and the terms preceding and following such terms can be large multiples of the prime. The terms overall are distributed over multiple lines, with the primes falling on at least two lines; see the attached colored image. Due to the term selection rules numbers which have a sum of prime factor exponents for prime factors of the form 4*k+1 and 4*k+3 which differ by 3 or more can never appear, the smallest such number being 27.
In the first 100000 terms the fixed points are 1, 2, 88, 118, 304, 786, 826. It is likely no more exist.
There are five dominant lines on the graph of the first 100000 terms. They can be characterized as follows, from the highest sloped L1 to the lowest sloped L5, considering terms within 1% of the fitted equations. The approximate slopes of the five lines are 2.1284, 1.476, 1.4190, 1.06845, and 0.70947, so that the normalized slopes of L1, L3, L4 and L5 are 3, 2, 3/2 and 1. L5 has essentially has only prime terms, while the others essentially have none. The 5 lines encompass approx. 97% of terms in the range 50K-100K. - Bill McEachen, Aug 21 2025
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 100000 terms. The colors are graduated across the spectrum to show the total number of prime factors of each term, with red being one prime factor. The thin green line is a(n) = n.
Wikipedia, Chebyshev's bias.
EXAMPLE
a(5) = 8 as the total number of prime factors of the form 4*k+1 and 4*k+3 for the first four terms is 0 and 1 respectively, thus a(5) cannot contain a single prime factor of the form 4*k+3. This eliminates 3 as a candidate, leaving 8 as the smallest available number that has no such prime factors and shares a factor with a(4) = 6. This is the first term to differ from A064413.
a(7) = 5 as the total number of prime factors of the form 4*k+1 and 4*k+3 for the first six terms is 1 and 1 respectively, thus a term can be chosen that contains a single odd prime factor, and 5 is the smallest unused term that shares a factor with a(6) = 10.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Mar 09 2025
STATUS
approved
