a(n) is the least k such that phi(k) + d(k) = 2^n, or -1 if there is no such k, where phi(k) = A000010(k) is Euler's totient function and d(k) = A000005(k) is the number of divisors of k.

A357898

a(n) is the least k such that phi(k) + d(k) = 2^n, or -1 if there is no such k, where phi(k) = A000010(k) is Euler's totient function and d(k) = A000005(k) is the number of divisors of k.

Terms

    a(0) =1a(1) =3a(2) =7a(3) =21a(4) =31a(5) =77a(6) =127a(7) =301a(8) =783a(9) =1133a(10) =3399a(11) =4781a(12) =8191a(13) =16637a(14) =37367a(15) =101601a(16) =131071a(17) =305837a(18) =524287a(19) =1073581a(20) =3220743a(21) =4201133a(22) =8544103a(23) =18404669a(24) =34012327a(25) =67139117a(26) =135255431a(27) =300528877a(28) =824583699a(29) =1073862029

External references