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.

A138327 Nonsquares not representable as p+g, where p is a prime and g is a primitive root of p.

Original entry on oeis.org

2, 6, 11, 14, 26, 35, 41, 45, 51
Offset: 1

Views

Author

T. D. Noe, Mar 14 2008

Keywords

Comments

This is sequence is probably complete.
There are no more terms below 10^5. - Amiram Eldar, Oct 09 2021

Crossrefs

Cf. A060749 (primitive roots), A138326.

Programs

  • Mathematica
    seq[m_] := Module[{p = Select[Range[m], PrimeQ], s}, s = Complement[Range[m], p + PrimitiveRootList[p] // Flatten]; Select[s, !IntegerQ @ Sqrt[#] &]]; seq[100] (* Amiram Eldar, Oct 09 2021 *)