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.

A185935 Lesser of two consecutive primes which both equal 2 (mod 3).

Original entry on oeis.org

23, 47, 53, 83, 131, 167, 173, 233, 251, 257, 263, 353, 383, 443, 467, 503, 509, 557, 563, 587, 593, 647, 653, 677, 797, 941, 947, 971, 977, 1013, 1097, 1103, 1181, 1187, 1217, 1223, 1259, 1283, 1307, 1361, 1367, 1433, 1493, 1499, 1511, 1553, 1601, 1613, 1709, 1811, 1889, 1901, 1907, 1913, 1973, 2063, 2069, 2099, 2207
Offset: 1

Views

Author

M. F. Hasler, Feb 06 2011

Keywords

Comments

Or, primes of the form 6k-1 such that the next larger prime is again of the form 6k'-1.

Programs

  • PARI
    forprime( p=1,1e4, (o+0-o=p)%3==0 & p%3==2 & print1( precprime(p-1)","))