a(n) = order of n in the permutation A054084 of the natural numbers if this order exists; a(n) = -1 otherwise.

A054085

a(n) = order of n in the permutation A054084 of the natural numbers if this order exists; a(n) = -1 otherwise.

Terms

    a(0) =2a(1) =2a(2) =7a(3) =7a(4) =7a(5) =7a(6) =7a(7) =7a(8) =9a(9) =7a(10) =9a(11) =9a(12) =9a(13) =9a(14) =9a(15) =9a(16) =-1a(17) =9a(18) =-1a(19) =9a(20) =-1a(21) =-1a(22) =-1a(23) =-1a(24) =16a(25) =-1a(26) =16a(27) =-1a(28) =16a(29) =-1

External references