OFFSET
1,1
COMMENTS
The record-holders are the powers of 2 written in base 4, A004643.
Not all record terms of A073053 have index in A004643. For instance, a(22) = 11011 = A073053(10111111111). - Chai Wah Wu, Nov 19 2025
All record-holders are of one of the forms 2*10^k or 10^k+(10^j-1)/9 with 0 <= j <= k. - Pontus von Brömssen, Jan 14 2026
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 1..10000
Matthew E. Coppenbarger, Iterations of a modified Sisyphus function, Fib. Q., 56 (No. 2, 2018), 130-141.
PROG
(Python)
from itertools import count, islice
def A305395_gen(): # generator of terms
c = 0
for n in count(1):
l = len(s:=str(n))
m = int(str(e:=sum(1 for d in s if d in {'0', '2', '4', '6', '8'}))+str(l-e)+str(l))
if m>c:
yield m
c = m
(Python)
from itertools import count
def candidate_values():
for k in count(1): # number of digits in record-holder candidates
s = str(k)
for i in range(1, k+1): # number of odd digits
yield int(str(k-i)+str(i)+s)
yield int(s+'0'+s) # no odd digit
def A305395_gen():
M = 0
for x in candidate_values():
if x > M:
yield x
M = x # Pontus von Brömssen, Jan 14 2026
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jun 25 2018
EXTENSIONS
a(11)-a(22) from Chai Wah Wu, Nov 19 2025
a(23)-a(25) from Chai Wah Wu, Jan 13 2026
a(26)-a(41) from Pontus von Brömssen, Jan 14 2026
STATUS
approved
