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.
%I A097957 #14 Apr 30 2014 01:37:06 %S A097957 3,7,13,17,23,37,43,47,53,67,73,83,97,103,107,113,127,137,157,163,167, %T A097957 173,193,197,223,227,233,257,263,277,283,293,307,313,317,337,347,353, %U A097957 367,373,383,397,433,443,457,463,467,487,503,523,547,557,563,577,587 %N A097957 Primes p such that p divides 5^((p-1)/2) + 4^((p-1)/2). %C A097957 Also odd primes congruent to {2, 3} mod 5, or primes with last digit 3 or 7. - _Alexander Adamchuk_, Nov 02 2006 %C A097957 5 is not a square mod p. - _Michael Somos_, Aug 15 2012 %H A097957 Vincenzo Librandi, <a href="/A097957/b097957.txt">Table of n, a(n) for n = 1..1000</a> %F A097957 a(n) = A003631(n-1). - _Alexander Adamchuk_, Nov 02 2006 %e A097957 5^3 + 4^3 = 7*27 %t A097957 Select[Prime[Range[120]],Divisible[5^((#-1)/2)+4^((#-1)/2),#]&] (* _Harvey P. Dale_, Feb 25 2013 *) %o A097957 (PARI) \s = +-1,d=diff ptopm1d2(n,x,d,s) = { forprime(p=3,n,p2=(p-1)/2; y=x^p2 + s*(x-d)^p2; if(y%p==0,print1(p","))) } %o A097957 (PARI) {a(n) = local( cnt, m ); if( n<1, return( 0 )); while( cnt < n, if( isprime( m++) && kronecker( 20, m )== -1, cnt++ )); m} /* _Michael Somos_, Aug 15 2012 */ %Y A097957 Cf. A003631 = Primes congruent to {2, 3} mod 5. %K A097957 nonn,easy %O A097957 1,1 %A A097957 _Cino Hilliard_, Sep 06 2004 %E A097957 Definition clarified by _Harvey P. Dale_, Feb 25 2013