The number of iterations of "subtract the largest prime less than or equal to the current value" to go from n to the limiting value 0 or 1.
A121561
The number of iterations of "subtract the largest prime less than or equal to the current value" to go from n to the limiting value 0 or 1.
Terms
- a(0) =0a(1) =1a(2) =1a(3) =1a(4) =1a(5) =1a(6) =1a(7) =1a(8) =2a(9) =2a(10) =1a(11) =1a(12) =1a(13) =1a(14) =2a(15) =2a(16) =1a(17) =1a(18) =1a(19) =1a(20) =2a(21) =2a(22) =1a(23) =1a(24) =2a(25) =2a(26) =2a(27) =2a(28) =1a(29) =1
External references
- oeis: A121561