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.

A019365 Primes with primitive root 40.

Original entry on oeis.org

7, 11, 17, 19, 23, 29, 47, 59, 73, 97, 101, 103, 109, 131, 137, 139, 149, 167, 179, 193, 229, 233, 257, 263, 269, 331, 349, 353, 383, 389, 421, 433, 461, 463, 491, 499, 503, 509, 541, 571, 577, 593, 607, 617, 619, 659, 661, 673, 701, 709, 727, 743, 829, 857, 859, 863
Offset: 1

Views

Author

Keywords

Comments

Subsequence of A028416. - Davide Rotondo, Dec 31 2024

Crossrefs

Cf. A028416.

Programs

  • Mathematica
    pr=40; Select[Prime[Range[200]], MultiplicativeOrder[pr, # ] == #-1 &]
  • PARI
    isok(p) = isprime(p) && (gcd(p,40)==1) && (znorder(Mod(40, p)) == p-1); \\ Michel Marcus, Jan 26 2025