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.

Showing 1-3 of 3 results.

A118940 Primes p such that (p^2+7)/8 is prime.

Original entry on oeis.org

3, 7, 17, 23, 41, 47, 71, 89, 103, 113, 127, 137, 151, 191, 193, 199, 223, 263, 271, 281, 337, 359, 401, 439, 457, 503, 521, 569, 577, 599, 641, 719, 727, 751, 839, 857, 863, 881, 887, 929, 991, 1009, 1033, 1097, 1103, 1151, 1193, 1217, 1231, 1279, 1297, 1303
Offset: 1

Views

Author

T. D. Noe, May 06 2006

Keywords

Comments

For all primes q>2, we have q=4k+-1 for some k, which makes it easy to show that 8 divides q^2+7.

Crossrefs

Similar sequences, with p and (p^2+a)/b both prime, are A048161, A062324, A062326, A062718, A109953, A110589, A118915, A118918, A118939, A118941 and A118942.

Programs

  • Mathematica
    Select[Prime[Range[200]],PrimeQ[(#^2+7)/8]&]
  • PARI
    lista(nn) = {forprime(p=2, nn, iferr(if (isprime(q=(p^2+7)/8), print1(q, ", ")), E, ););} \\ Michel Marcus, Feb 18 2018

A118939 Primes p such that (p^2+3)/4 is prime.

Original entry on oeis.org

3, 5, 7, 11, 13, 17, 29, 31, 41, 43, 67, 83, 101, 109, 139, 151, 157, 179, 181, 199, 211, 223, 239, 263, 277, 283, 307, 311, 337, 347, 353, 379, 389, 419, 431, 463, 491, 557, 577, 587, 619, 659, 673, 739, 757, 797, 809, 811, 829, 853, 907, 911, 953, 991, 1051
Offset: 1

Views

Author

T. D. Noe, May 06 2006

Keywords

Comments

For all primes q>2, we have q=4k+-1 for some k, which makes it easy to show that 4 divides q^2+3. Similar sequences, with p and (p^2+a)/b both prime, are A048161, A062324, A062326, A062718, A109953, A110589, A118915, A118918, A118940, A118941 and A118942.

Programs

  • Mathematica
    Select[Prime[Range[200]],PrimeQ[(#^2+3)/4]&]

A118942 Primes p such that (p^2-13)/12 is prime.

Original entry on oeis.org

7, 13, 17, 19, 23, 31, 37, 41, 53, 67, 71, 73, 89, 103, 107, 113, 131, 139, 157, 163, 181, 199, 211, 233, 239, 257, 269, 283, 307, 311, 337, 359, 373, 379, 401, 419, 463, 487, 491, 499, 509, 521, 577, 593, 607, 617, 631, 647, 653, 683, 701, 733, 761, 769, 787
Offset: 1

Views

Author

T. D. Noe, May 06 2006

Keywords

Comments

For all primes q>3, we have q=6k+-1 for some k, which makes it easy to show that 12 divides q^2-13. Similar sequences, with p and (p^2+a)/b both prime, are A048161, A062324, A062326, A062718, A109953, A110589, A118915, A118918, A118939, A118940 and A118941.

Programs

  • Mathematica
    Select[Prime[Range[200]],PrimeQ[(#^2-13)/12]&]
Showing 1-3 of 3 results.