editing
approved
editing
approved
editing
approved
editing
proposed
1, 3, 3, 3, 1, 2, 1, 11, 4, 10, 1, 3, 4, 9, 2, 19, 1, 18, 1, 1, 7, 17, 7, 7, 6, 5, 6, 6, 1, 4, 15, 5, 16, 4, 1, 2, 4, 3, 1, 14, 3, 13, 13, 13, 12, 12, 12, 1, 6, 12, 2, 5, 5, 11, 1, 5, 13, 10, 4, 1, 12, 3, 9, 3, 3, 1, 2, 1, 1, 40, 2, 8, 8, 39, 3, 7, 7, 9, 2, 3, 1, 3, 37, 37, 37, 5, 36, 36, 3, 1, 8
proposed
editing
editing
proposed
n=8; (8, 1) -> (9, 2) -> (11, 3) -> (14, 5) -> (19, 5) -> (24, 5) -> (29, 4) -> (33, 5) -> (38, 4) -> (42, 4) -> 46, 4) -> (50, 5) = . 50/5 = 10 , so a(8) = 11 because it needs 11 iterations to reach until p/q is an integer.
proposed
editing
editing
proposed
n=98; 9/(8, 1 ) -> (9, 2) -> 10/(11, 3 ) -> (14, 5) -> (19, 5) -> (24, 5) -> (29, 4) -> (33, 5) -> (38, 4) -> 13/(42, 4 ) -> 17/46, 4 ) -> 21(50, 5) = 50/3 5 = 7 10 so a(98) = 4 11 because it needs 4 11 iterations to reach an integer.
n=8; 8/1 -> 9/2 -> 11/3 -> 14/5 -> 19/5 -> 24/5 -> 29/4 -> 33/5 -> 38/4 -> 42/4 -> 46/4 -> 50/5 = 10 so a(8) = 11 because it needs 11 iterations to reach an integer.
proposed
editing