A005417 Maximal period of an n-stage shift register.
2, 6, 12, 30, 60, 120, 210, 420, 840, 1260, 2520, 2520, 5040, 9240, 13860, 27720, 32760, 55440, 65520, 120120, 180180, 360360, 360360, 720720, 720720, 942480, 1113840
Offset: 0
References
- H. Lüneburg, Galoisfelder, Kreisteilungskörper und Schieberegisterfolgen. B. I. Wissenschaftsverlag, Mannheim, 1979.
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
Links
- Benjamin Grossmann, What is the largest (finite) order of an element of GL(10,Q)?
- J. Kuzmanovich and A. Pavlichenkov, Finite groups of matrices whose entries are integers, Amer. Math. Monthly, 109 (2002), 173-186.
Programs
-
Mathematica
(* b,c = a080737 *) nmax = 26; kmax = 1200000; (* kmax increased by 100000 until results do not change *) b[1] = b[2] = 0; b[p_?PrimeQ] := b[p] = p-1; b[k_] := b[k] = If[Length[f = FactorInteger[k]]==1, EulerPhi[k], Total[b /@ (f[[All, 1]]^f[[All, 2]])] ]; orders = Table[{k, b[k]}, {k, 1, kmax}]; c[0] = 2; c[n_] := c[n] = Select[orders, 2n-1 <= #[[2]] <= 2n&][[-1, 1]]; a[n_] := Table[c[m], {m, 0, n}] // Max; Table[a[n], {n, 0, nmax}] (* Jean-François Alcover, Dec 17 2017 *)
Formula
Extensions
Entry revised by N. J. A. Sloane, Mar 10 2002
Comments