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.

A040116 Primes p such that x^4 = 9 has a solution mod p.

Original entry on oeis.org

2, 3, 7, 11, 13, 19, 23, 31, 37, 43, 47, 59, 61, 67, 71, 73, 79, 83, 97, 103, 107, 109, 127, 131, 139, 151, 157, 163, 167, 179, 181, 191, 193, 199, 211, 223, 227, 229, 239, 241, 251, 263, 271, 277, 283, 307, 311
Offset: 1

Views

Author

Keywords

Programs

  • Magma
    [p: p in PrimesUpTo(400) | exists(t){x : x in ResidueClassRing(p) | x^4 eq 9}]; // Vincenzo Librandi, Sep 12 2012
  • Mathematica
    ok [p_]:=Reduce[Mod[x^4 - 9, p]== 0, x, Integers]=!= False; Select[Prime[Range[170]], ok] (* Vincenzo Librandi, Sep 12 2012 *)