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.

A038878 Primes p such that 7 is a square mod p.

This page as a plain text file.
%I A038878 #20 Jul 08 2025 22:25:49
%S A038878 2,3,7,19,29,31,37,47,53,59,83,103,109,113,131,137,139,149,167,193,
%T A038878 197,199,223,227,233,251,271,277,281,283,307,311,317,337,367,373,383,
%U A038878 389,401,419,421,439,449,457,467
%N A038878 Primes p such that 7 is a square mod p.
%C A038878 Also, only entries p=1 (mod 4) of the sequence are squares mod 7 (from the quadratic reciprocity law). - _Lekraj Beedassy_, Jul 21 2004
%C A038878 2 and 7 together with primes congruent to +/- {1, 3, 9} mod 28. - _Eric M. Schmidt_, Jan 24 2014
%C A038878 Least numbers m such that 7+m*a(n) is a square: 1, 3, 6, 3, 1, 3, 2, 6, 9, 6, 3, 6, 2, 9, 3, 1, ... - _Zak Seidov_, Sep 25 2014
%H A038878 Vincenzo Librandi, <a href="/A038878/b038878.txt">Table of n, a(n) for n = 1..1000</a>
%t A038878 Select[Prime[Range[100]], JacobiSymbol[7, #] != -1 &] (* _Vincenzo Librandi_, Sep 07 2012 *)
%t A038878 Union[{2,7},Select[Flatten[Table[{1,3,9,19,25,27}+28*k,{k,0,10}]],PrimeQ]](* _Zak Seidov_, Sep 25 2014 *)
%K A038878 nonn
%O A038878 1,1
%A A038878 _N. J. A. Sloane_