login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A279189 Primes p such that L(p^2) = (p-1)*L(p), where L(i) = A279186(i). 3
2, 3, 5, 29, 179, 293, 317, 467, 509, 659, 797 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..11.

Haifeng Xu, The largest cycles consist by the quadratic residues and Fermat primes, arXiv:1601.06509 [math.NT], 2016.

MATHEMATICA

T[n_, k_] := Module[{g, y, r}, If[k == 0, Return[1]]; y = n; g = GCD[k, y]; While[g > 1, y = y/g; g = GCD[k, y]]; If[y == 1, Return[1]]; r = MultiplicativeOrder[k, y]; r = r/2^IntegerExponent[r, 2]; If[r == 1, Return[1]]; MultiplicativeOrder[2, r]];

L[n_] := L[n] = Table[T[n, k], {k, 0, n - 1}] // Max;

For[p = 2, p < 1000, p = NextPrime[p], If[L[p^2] == (p-1) L[p], Print[p]]] (* Jean-François Alcover, Oct 07 2018, after Robert Israel in A279186 *)

CROSSREFS

Cf. A279185, A279186, A279187, A279188.

Sequence in context: A331399 A084599 A062167 * A107451 A093490 A073309

Adjacent sequences:  A279186 A279187 A279188 * A279190 A279191 A279192

KEYWORD

nonn,more

AUTHOR

N. J. A. Sloane, Dec 14 2016

EXTENSIONS

a(8)-a(11) from Jean-François Alcover, Oct 07 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 1 07:45 EDT 2021. Contains 346384 sequences. (Running on oeis4.)