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.

A163629 Numbers such that the two adjacent integers are a prime and 5 times a prime.

Original entry on oeis.org

14, 16, 24, 36, 54, 66, 84, 96, 114, 156, 234, 264, 294, 306, 336, 354, 366, 396, 444, 486, 504, 546, 564, 654, 684, 744, 756, 786, 864, 906, 954, 966, 984, 996, 1116, 1164, 1194, 1284, 1554, 1566, 1584, 1656, 1734, 1746, 1866, 1914, 1986, 2004, 2154, 2214
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Aug 02 2009

Keywords

Examples

			a(1)=14 which lies between 13=A000040(6) and 15=A001750(2).
a(2)=16 which lies between 15=A001750(2) and 17=A000040(7).
		

Crossrefs

Programs

  • Mathematica
    prQ[n_]:=Module[{a=n-1,b=n+1},(PrimeQ[a]&&PrimeQ[b/5])||(PrimeQ[b] && PrimeQ[a/5])]; Select[Range[3000],prQ] (* Harvey P. Dale, Jun 05 2012 *)

Extensions

114, 444 added, 1303 removed, 1666 replaced by 1656 - R. J. Mathar, Aug 07 2009