cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-5 of 5 results.

A206551 Moduli n for which the multiplicative group Modd n is cyclic.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 27, 29, 31, 32, 33, 34, 35, 37, 38, 39, 41, 43, 45, 46, 47, 49, 50, 51, 53, 54, 55, 57, 58, 59, 61, 62, 64, 67, 69, 71, 73, 74, 75, 77, 79, 81, 82, 83, 86, 87, 89, 93, 94, 95, 97, 98, 99
Offset: 1

Views

Author

Wolfdieter Lang, Mar 27 2012

Keywords

Comments

For Modd n (not to be confused with mod n) see a comment on A203571.
For n=1 one has the Modd 1 residue class [0], the integers. The group of order 1 is the cyclic group Z_1 with the unit element 0==1 (Modd 1). [Changed by Wolfdieter Lang, Apr 04 2012]
For the non-cyclic (acyclic) values see A206552.
For these numbers n, and only for these (only the n values < 100 are shown above), there exist primitive roots Modd n. See the nonzero values of A206550 for the smallest positive ones.
For n=1 the primitive root is 0 == 1 (Modd 1), see above.
For n>=1 the multiplicative group Modd n is the Galois group Gal(Q(rho(n))/Q), with the algebraic number rho(n) := 2*cos(Pi/n) with minimal polynomial C(n,x), whose coefficients are given in A187360.

Examples

			a(2) = 2 for the multiplicative group Modd 2, with representative [1], and there is a primitive root, namely 1, because 1^1 = 1 == 1 (Modd 1). The cycle structure is [[1]], the group is Z_1.
a(3) = 3 for the multiplicative group Modd 3 which coincides with the one for Modd 2.
a(4) = 4 for the multiplicative group Modd 4 with representatives [1,3]. The smallest positive  primitive root is 3, because 3^2 == 1 (Modd 4). This group is cyclic, it is Z_2.
		

Crossrefs

Cf. A206550, A033948 (mod n case).

Formula

A206550(a(n)) > 0, n>=1.

A206552 Moduli n for which the multiplicative group Modd n is non-cyclic (acyclic).

Original entry on oeis.org

12, 20, 24, 28, 30, 36, 40, 42, 44, 48, 52, 56, 60, 63, 65, 66, 68, 70, 72, 76, 78, 80, 84, 85, 88, 90, 91, 92, 96, 100, 102, 104, 105, 108, 110, 112, 114, 116, 117, 120, 124, 126, 130, 132, 133, 136, 138, 140, 144, 145, 148, 150, 152, 154, 156, 160, 164, 165
Offset: 1

Views

Author

Wolfdieter Lang, Mar 27 2012

Keywords

Comments

For Modd n (not to be confused with mod n) see a comment on A203571.
Precisely these numbers n (only the ones <=165 are shown above) have no primitive root Modd n. See the zero entries of A206550, except A206550(1) = 0 which stands for a primitive root 0.
The multiplicative Modd n group is the Galois group Gal(Q(rho(n))/Q), with the algebraic number rho(n) := 2*cos(Pi/n) with minimal polynomial C(n,x), whose coefficients are given in A187360.

Examples

			a(1) = 12 because A206550(12) = 0 for the first time, not counting A206550(1) = 0. The cycle structure of the multiplicative Modd 12 group is [[5,1],[7,1],[11,1]]. This is the (abelian, non-cyclic) group Z_2 x Z_2 (isomorphic to the Klein group V_4 or Dih_2).
a(2) = 20 because A206550(20) = 0 for the second time, not counting A206550(1) = 0. The cycle structure of the multiplicative Modd 20 group is [[3,9,13,1],[7,9,17,1],[11,1],[19,1]]. This is the (abelian, non-cyclic) group Z_4 x Z_2.
		

Crossrefs

Cf. A206550, A206551, A033949 (mod n case).

Formula

A206550(a(n)) = 0, n>=1.

A210846 (5^(3^(n-1)) + 1)/(2*3^n).

Original entry on oeis.org

1, 7, 36169, 45991238252616223, 851008860651263039991161205833295116837255258128476241
Offset: 1

Views

Author

Wolfdieter Lang, Apr 24 2012

Keywords

Comments

The number of digits of a(n) is 1, 1, 5, 17, 54, 167, 506, 1525, ... .
Integer 2*a(n) implies that 5^delta(3^n) == -1 (mod 3^n), n>=1, with the degree delta(3^n) = phi(2*3^n)/2 = 3^(n-1) of the minimal polynomial C(3^n,x) of the algebraic number 2*cos(pi/3^n). For delta and the coefficient array of C see A055034 and A187360, respectively. That 2*a(n) is indeed an even integer can be shown by analyzing the terms of the binomial expansion of (6-1)^(3^(n-1)) + 1.
This congruence implies that floor(5^(3^(n-1))/3^n) = 2*a(n) - 1, i.e., it is odd. Hence 5^delta(3^n) == +1 (Modd 3^n), n>=2. For Modd n (not to be confused with mod n) see a comment on A203571. One can show that 5 is the smallest positive primitive root Modd 3^n for n>=2 (for n=1 one has 1^1 == +1 (Modd 3)). See A206550. The proof uses the fact that the order of 5 using multiplication Modd 3^n has to be a divisor of delta(3^n)=3^(n-1), i.e., a power of 3. This is because the multiplicative group Modd 3^n has order delta(3^n) and the subgroup formed by the cycle has the order of 5 considered Modd 3^n. Then apply Lagrange's theorem. That for n>=2 no number 5^(3^(n-1-j)), with j=1, 2..., n-1, is congruent +1 (Modd 3^n) follows from the above established congruence and an analysis of the relevant expansion for a given smaller power.
The above statements show that for n>=1 the multiplicative group Modd 3^n is cyclic (for n=1 the cycle is [1], and for n>=2 the cycle is generated by 5). For the cyclic moduli see A206551.

Examples

			n=1: (5^1+1)/6  = 1; n=2: (5^3 + 1)/18 = 126/18 = 7;
n=3: (5^9 +1)/(2*27) = 1953126/54 = 36169.
		

Crossrefs

Cf. A000244 (powers of 3), A068531, A090129 (the case Modd 2^n).

Formula

a(n) = (5^(3^(n-1)) + 1)/(2*3^n).

A210847 a(n) = (3^(2*5^(n-1)) + 1)/(2*5^n), n >= 1.

Original entry on oeis.org

1, 1181, 2871591950767410355081
Offset: 1

Views

Author

Wolfdieter Lang, May 03 2012

Keywords

Comments

The number of digits of a(n) is 1, 4, 22, 117, 593, 2978, 14905, ..., for n >= 1.
Integer a(n) implies that 3^delta(5^n) == -1 (mod 5^n), n>=1, with the degree delta(5^n) = phi(2*5^n)/2 = 2*5^(n-1) of the minimal polynomial C(5^n,x) of the algebraic number 2*cos(Pi/5^n). For delta and the coefficient array of C see A055034 and A187360, respectively. That 2*a(n) is indeed an even integer can be shown by analyzing the terms of the binomial expansion of (10-1)^(5^(n-1)) + 1.
This congruence implies that floor(3^(2*5^(n-1))/5^n) = 2*a(n) - 1, i.e., it is odd. Hence 3^delta(5^n) == +1 (Modd 5^n), n>=1. For Modd n (not to be confused with mod n) see a comment on A203571. One can show that 3 is the smallest positive primitive root Modd 5^n for n>=1. See A206550. The proof uses the fact that the order of 3 using multiplication Modd 5^n has to be a divisor of delta(5^n)=2*5^(n-1), i.e., either 5^e or 2*5^e with certain e>=0. This is because the multiplicative group Modd 5^n has order delta(5^n) and the order of the subgroup formed by the cycle generated by 3 coincides with the order of 3 considered Modd 5^n. Then Lagrange's theorem is applied. That for n>=1 no power of 3 with exponent 2*5^(n-1-j) with j=1,2,..., n-1 is congruent +1 (Modd 5^n) follows by considering the two cases +1 (mod 5^n) and -1 (mod 5^n) separately. The first case is excluded from the above established congruence by an indirect proof. The case -1 (Modd 5^n) can be excluded by an analysis of the relevant expansion for a given smaller power. The other cases 3^k with k = 5^(n-1-j), where j = 0, 1, ..., n-1, are neither -1 (mod 5^n) nor +1 (mod 5^n) because 3^(5^(n-1)) (mod 5^n) is congruent 3 (mod 5) (see A048899), hence neither +1 nor -1 (mod 5^n), respectively. The lower exponents are then excluded in both cases iteratively by an indirect proof taking fifth powers.
The above statements show that for n>=1 the multiplicative group Modd 5^n is cyclic, and for each n the cycle of length 2*5^(n-1) can be generated starting with 3. For the cyclic moduli see A206551.

Examples

			n = 1: (9 + 1)/(10) = 1; n = 2: (3^10 + 1)/50 = 59050/50 = 1181.
n = 3: (3^50 + 1)/250 = 717897987691852588770250/250 = 2871591950767410355081.
		

Crossrefs

Cf. A068531(n-2), n>=3, (the case p=2), A210846 (the case p=3).

Programs

  • Mathematica
    a[n_] := (3^(2*5^(n-1)) + 1)/(2*5^n); Array[a, 3] (* Amiram Eldar, Jul 11 2025 *)

Formula

a(n) = (3^(2*5^(n-1)) + 1)/(2*5^n), n >= 1.

A207331 Array of indices (or logarithms) Modd p for odd numbers smaller than p relative to basis of smallest primitive root.

Original entry on oeis.org

0, 0, 0, 1, 0, 1, 2, 0, 1, 3, 4, 2, 0, 2, 3, 1, 4, 5, 0, 1, 5, 3, 2, 7, 4, 6, 0, 1, 4, 6, 2, 3, 8, 5, 7, 0, 1, 9, 6, 2, 4, 5, 10, 8, 3, 7, 0, 1, 10, 8, 2, 5, 12, 11, 7, 13, 9, 4, 6, 3
Offset: 1

Views

Author

Wolfdieter Lang, Mar 27 2012

Keywords

Comments

For Modd n (not to be confused with mod n) see a comment on A203571.
The row lengths sequence for this array is 1 for row no. 1 and (p(n)-1)/2 with p(n):=A000040(n) (the primes).
For the definition of the index of a reduced number a mod n (but here we use Modd n) relative to a primitive root mod n, see, e.g., the Apostol reference, p. 213, and the tables on pp. 216-7. This mod n array is found under A054503 if the smallest primitive root mod n is taken as base. Because of its properties the index ind_b(a) is also called log_b(a), with the base b.
Here for Modd n, n>=2, primitive roots exist only for the values n with A206550(n)>0. There the smallest positive primitive roots, called here B(n) are also found. The allowed n values are shown in A206551. The indices Modd p(n), p(n):=A000040(n) (the primes) are called Ind_B(p(n))(a), with the odd numbers a smaller than p(n): 2*m-1=1,3,...,p(n)-2, for m=1,2,..., (p(n)-1)/2.
For odd p(n) the index Ind_B(p(n))(2*m-1) is defined as the unique value k from {0,1,...,(p(n)-3)/2}, such that B(p(n))^k = 2*m-1, with the base B(p(n)) the smallest positive primitive root Modd p(n).

Examples

			n, p(n)\m 1   2   3  4  5   6   7   8    9   10   11 12  13 14
    2m-1: 1   3   5  7  9  11  13  15   17   19   21 23  25 27
1,   2:   0
2,   3:   0
3,   5:   0   1
4,   7:   0   1   2
5,  11:   0   1   3  4  2
6,  13:   0   2   3  1  4   5
7,  17:   0   1   5  3  2   7   4   6
8,  19:   0   1   4  6  2   3   8   5    7
9,  23:   0   1   9  6  2   4   5  10    8    3   7
10, 29:   0   1  10  8  2   5  12  11    7   13   9   4   6  3
...
a(6,5) =4 because the base B(13) is here A206550(13)=7, and 7^4 = 2401, 2401 (Modd 13) := 2401 (mod 13) = 9 = 2*5-1.
		

References

  • T. M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag, 1986.

Crossrefs

Cf. A054503 (mod n case).

Formula

a(n,m) = Ind_B(p(n))(2*m-1), m=1,2,..., (p(n)-1)/2, n>=1. See the comment section for the definition of Ind_B(a).
Showing 1-5 of 5 results.