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.

A348062 Primes p such that the length of the (eventual) period of the sequence {2^(2^k) mod p: k >= 0} is odd.

Original entry on oeis.org

2, 3, 5, 17, 29, 43, 47, 113, 127, 179, 197, 257, 277, 283, 293, 317, 383, 439, 449, 467, 479, 509, 569, 641, 659, 719, 797, 863, 1013, 1069, 1289, 1373, 1399, 1427, 1439, 1487, 1579, 1627, 1657, 1753, 1823, 1913, 1933, 1949, 2063, 2203, 2207, 2213, 2273, 2339, 2351
Offset: 1

Views

Author

Arkadiusz Wesolowski, Sep 26 2021

Keywords

Comments

Of these numbers only 3 and 5 are elite primes (A102742). (Aigner)
Every prime of the form A036259(n)*2^m + 1, with m, n >= 1, is in this sequence.

Crossrefs

Supersequence of A023394.
Cf. A102742 (elite primes), A256607.

Programs

  • PARI
    L=List([2]); forprime(p=3, 2351, z=znorder(Mod(2, p)); if(znorder(Mod(2, z/2^valuation(z, 2)))%2, listput(L, p))); Vec(L)