OFFSET
0,3
COMMENTS
See A359214 for the corresponding minimal k's.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, PARI program
FORMULA
a(n) <= n.
EXAMPLE
The orbit of 0 under repeated application of A359194 is:
0, 1, 0, ...
So a(0) = a(1) = 0.
The orbit of 2 under repeated application of A359194 is:
2, 1, 0, 1, 0, ...
So a(2) = 2.
The orbit of 3 under repeated application of A359194 is:
3, 6, 13, 24, 55, 90, 241, 300, 123, 142, 85, 0, 1, 0, ...
So a(3) = a(6) = a(13) = a(24) = a(55) = a(90) = a(241) = a(300) = a(123) = a(142) = a(85) = 3.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 22 2022
STATUS
approved