If n is a power of 2, then a(n) = 1, otherwise we search for the smallest integer m > n, for which there exists an odd number i <= n^3 such that m*i = A048720(n, i), and return that i as the result of a(n). Here A048720 is carryless base-2 multiplication.

A391567

If n is a power of 2, then a(n) = 1, otherwise we search for the smallest integer m > n, for which there exists an odd number i <= n^3 such that m*i = A048720(n, i), and return that i as the result of a(n). Here A048720 is carryless base-2 multiplication.

Terms

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

External references