[go: up one dir, main page]

login
A282444
Numbers k such that A282442(k) = k + 1.
2
1, 2, 5, 8, 14, 50, 119, 200, 269, 299, 1154, 5369, 47249, 48299, 58643, 130325, 148979, 282074, 887480
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.
Sequence in context: A139218 A263235 A017988 * A103077 A090980 A329603
KEYWORD
nonn,more
AUTHOR
Peter Kagey, Feb 15 2017
EXTENSIONS
a(13)-a(19) from Hakan Icoz, Apr 09 2021
STATUS
approved