Number of terms before entering cycle in trajectory of P under the 'Px+1' map, where P = n-th prime, or -1 if trajectory does not cycle.

A057691

Number of terms before entering cycle in trajectory of P under the 'Px+1' map, where P = n-th prime, or -1 if trajectory does not cycle.

Terms

    a(0) =5a(1) =13a(2) =4a(3) =10a(4) =25a(5) =11a(6) =68a(7) =14a(8) =39a(9) =34a(10) =9a(11) =4a(12) =5a(13) =5a(14) =16a(15) =16a(16) =234a(17) =23a(18) =16a(19) =5a(20) =11a(21) =5a(22) =63a(23) =116a(24) =18a(25) =18a(26) =33a(27) =288a(28) =47a(29) =29

External references