login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172154 Numbers n such that 24*n+-5 are both prime. 1
1, 2, 6, 7, 12, 13, 16, 21, 23, 27, 29, 33, 34, 44, 49, 54, 62, 68, 71, 72, 78, 83, 89, 92, 98, 99, 103, 106, 112, 114, 119, 148, 149, 154, 163, 167, 176, 177, 181, 182, 187, 188, 197, 209, 216, 218, 222, 232, 236, 237, 244, 252, 254, 257, 259, 266, 274, 279, 288, 301 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..60.

EXAMPLE

a(1)=1 because 24*1-5=19(prime) and 24*1+5=29(prime).

MATHEMATICA

okQ[n_]:=Module[{n24=24 n}, PrimeQ[n24-5]&&PrimeQ[n24+5]]; Select[Range[500], okQ] [From Harvey P. Dale, Feb 16 2010]

CROSSREFS

Cf. A000027, A000040, A172147.

Sequence in context: A233419 A189327 A217575 * A293531 A072147 A190121

Adjacent sequences:  A172151 A172152 A172153 * A172155 A172156 A172157

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Jan 26 2010

EXTENSIONS

Corrected sequence by deleting improper terms and adding additional terms Harvey P. Dale, Feb 16 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 23 00:33 EST 2018. Contains 299473 sequences. (Running on oeis4.)