A halting sequence: let f_n be the n-th recursive function, relative to the Godel numbering given in Cutland, then a(n) is f_n(n)+1 if the corresponding program halts on input n, 0 otherwise.
A118874
A halting sequence: let f_n be the n-th recursive function, relative to the Godel numbering given in Cutland, then a(n) is f_n(n)+1 if the corresponding program halts on input n, 0 otherwise.
Terms
- a(0) =1a(1) =3a(2) =1a(3) =4a(4) =2a(5) =1a(6) =1a(7) =0a(8) =1a(9) =12a(10) =2a(11) =1a(12) =1a(13) =1a(14) =1a(15) =16a(16) =0a(17) =19a(18) =1a(19) =21a(20) =3a(21) =2a(22) =2a(23) =0a(24) =1a(25) =1a(26) =1a(27) =1a(28) =1a(29) =1
External references
- oeis: A118874