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.

A089253 Numbers n such that 2n - 5 is a prime.

This page as a plain text file.
%I A089253 #31 Dec 29 2024 12:01:56
%S A089253 4,5,6,8,9,11,12,14,17,18,21,23,24,26,29,32,33,36,38,39,42,44,47,51,
%T A089253 53,54,56,57,59,66,68,71,72,77,78,81,84,86,89,92,93,98,99,101,102,108,
%U A089253 114,116,117,119,122,123,128,131,134,137,138,141,143,144,149,156,158,159,161
%N A089253 Numbers n such that 2n - 5 is a prime.
%D A089253 M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna 1988
%D A089253 Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta, UTET, CittaStudiEdizioni, Milano 1997
%H A089253 Shawn A. Broyles, <a href="/A089253/b089253.txt">Table of n, a(n) for n = 1..1000</a>
%F A089253 a(n) = A067076(n) + 4. - _Giovanni Teofilatto_, Dec 14 2003
%t A089253 (Prime[Range[2,100]]+5)/2 (* _Vladimir Joseph Stephan Orlovsky_, Feb 08 2010 *)
%t A089253 Select[Range[2,200],PrimeQ[2#-5]&] (* _Harvey P. Dale_, Dec 29 2024 *)
%o A089253 (PARI) a(n)=prime(n+1)\2+3 \\ _Charles R Greathouse IV_, Oct 30 2012
%Y A089253 Numbers n such that 2n+k is prime: A005097 (k=1), A067076 (k=3), A089038 (k=5), A105760 (k=7), A155722 (k=9), A101448 (k=11), A153081 (k=13), A089559 (k=15), A173059 (k=17), A153143 (k=19).
%Y A089253 Numbers n such that 2n-k is prime: A006254 (k=1), A098090 (k=3), this sequence (k=5), A089192 (k=7), A097069 (k=9), A097338 (k=11), A097363 (k=13), A097480 (k=15), A098605 (k=17), A097932 (k=19).
%K A089253 easy,nonn
%O A089253 1,1
%A A089253 _Giovanni Teofilatto_, Dec 12 2003
%E A089253 Corrected by _Ralf Stephan_, Mar 03 2004
%E A089253 Further correction from _Jeremy Gardiner_, Sep 11 2004