OFFSET
1,2
COMMENTS
a(18) > 10^6. - Hakan Icoz, Apr 09 2021
LINKS
Mathematics Stack Exchange user Sheljohn, A curious sequence.
PROG
(Python)
def A282442():
n = 0
while True:
n += 1
h = n
k = 2
while h >= k:
h = h % k
h = n - h
k += 1
yield k
n=0
for i in A282442():
n += 1
if i == n+1:
print(n) # Hakan Icoz, Apr 09 2021
CROSSREFS
Cf. A282442.
KEYWORD
nonn,more
AUTHOR
Peter Kagey, Feb 15 2017
EXTENSIONS
a(13)-a(19) from Hakan Icoz, Apr 09 2021
STATUS
approved