Monday, July 10, 2017

elementary number theory - When does n divide ad+1?



For what values of n will n divide ad+1 where n and d are positive integers?


Apparently n can not divide ad+1 if ordna is odd.


If n(ad+1)ad1(modn)a2d1(modn)ordna2d but d.


For example, let a=10, the factor(f)s of (1031)=999 such that ordf10=3 are 27,37,111,333 and 999 itself. None of these should divide 10d+1 for some integer d.


Please rectify me if there is any mistake.



Is anybody aware of a better formula?


Answer



There are various useful bits of information that one may deduce about factors of integers of the form bn±1. A good place to learn about such is Wagstaff's splendid introduction to the Cunningham Project, whose goal is to factor numbers of the form bn±1. There you will find mentioned not only old results such as Legendre (primitive divisors of bn±1 are 1(mod2n), but also newer results, e.g. those exploiting cyclotomic factorizations. e.g. see below.



Often number identities are more perceptively viewed as special cases of function or polynomial identities. For example, Aurifeuille, Le Lasseur and Lucas discovered so-called Aurifeuillian factorizations of cyclotomic polynomials Φn(x)=Cn(x)2n x Dn(x)2. These play a role in factoring numbers of the form bn±1, cf. the Cunningham Project. Below are some simple examples of such factorizations (e.g. see below).


x4+22=(x2+2x+2)(x22x+2)x6+32x2+3=(x2+3x+3)(x23x+3)x1055x25=(x4+5x3+15x2+25x+25)(x45x3+15x225x+25)x12+66x4+36=(x4+6x3+18x2+36x+36)(x46x3+18x236x+36)


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...