0,6

a(n) is minimum e for which 6^e = +/-1 mod 2n+1, or zero if no e exists.

H. Cohen, Course in Computational Algebraic Number Theory, Springer, 1993, p. 25, Algorithm 1.4.3

Table of n, a(n) for n=0..86.

H. J. Smith, XICalc - Extra Precision Integer Calculator.

Eric Weisstein's World of Mathematics, Multiplicative Order

S. Wolfram, Algebraic Properties of Cellular Automata (1984), Appendix B.

Sequence in context: A088602 A194347 A021869 * A200010 A105580 A047774

Adjacent sequences: A103489 A103490 A103491 * A103493 A103494 A103495

easy,nonn

Harry J. Smith, Feb 11 2005

approved