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.

A136003 Primes that are not the sum, minus 1, of a Pythagorean triple.

Original entry on oeis.org

2, 3, 5, 7, 13, 17, 19, 31, 37, 41, 43, 53, 61, 67, 73, 97, 101, 103, 109, 113, 127, 137, 151, 157, 163, 173, 193, 211, 229, 241, 257, 271, 277, 281, 283, 293, 313, 317, 331, 337, 353, 367, 397, 401, 409, 421, 433, 457, 463, 487, 499, 521, 523, 541, 547, 557
Offset: 1

Views

Author

Omar E. Pol, Dec 16 2007

Keywords

Comments

Primes in A136002.

Crossrefs

Programs

  • Mathematica
    q[n_] := PrimeQ[n] && (n == 2 || Module[{d = Divisors[(n+1)/2]}, AllTrue[Range[3, Length[d]], d[[#]] >= 2 * d[[#-1]] &]]); Select[Range[600], q] (* Amiram Eldar, Oct 19 2024 *)

Extensions

Extended by Ray Chandler, Dec 13 2008