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.

A369105 Primes p such that p+2 has only prime factors congruent to -1 modulo 4.

Original entry on oeis.org

5, 7, 17, 19, 29, 31, 41, 47, 61, 67, 79, 97, 101, 127, 131, 137, 139, 149, 197, 199, 211, 229, 241, 251, 269, 277, 281, 307, 359, 379, 397, 421, 439, 461, 467, 487, 499, 521, 569, 571, 587, 601, 617, 619, 631, 641, 647, 691, 709, 719, 727, 751, 757, 787, 809, 811
Offset: 1

Views

Author

Stefano Spezia, Jan 13 2024

Keywords

Comments

Jones and Zvonkin call these primes BCC primes, where BCC stands for Bujalance, Cirre, and Conder.

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[150]], PrimeQ[f=First/@FactorInteger[#+2]] == Table[True,{j,PrimeNu[#+2]}] && Mod[f,4] == Table[3, {m,PrimeNu[#+2]}] &]
  • PARI
    is1(n) = {my(p = factor(n)[, 1]); for(i = 1, #p, if(p[i] % 4 == 1, return(0))); 1;};
    lista(pmax) = forprime(p = 3, pmax, if(is1(p+2), print1(p, ", "))); \\ Amiram Eldar, Jun 03 2024