login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A172147 Numbers n such that 42n - 5 and 42n + 5 are prime. 3
1, 2, 4, 9, 11, 12, 17, 18, 21, 22, 26, 28, 29, 31, 34, 37, 43, 49, 56, 57, 64, 66, 68, 79, 86, 88, 104, 106, 114, 117, 119, 121, 133, 138, 144, 148, 152, 166, 171, 172, 182, 183, 192, 193, 199, 204, 207, 208, 213, 218, 224, 229, 232, 233, 242, 244, 249, 257, 264, 268, 276 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(1)=1 because 42*1 - 5 = 37 and 42*1 + 5 = 47 are both prime.
MATHEMATICA
Select[Range[280], PrimeQ[42 # - 5] && PrimeQ[42 # + 5] &] (* Ivan Neretin, Jan 24 2017 *)
CROSSREFS
Sequence in context: A096692 A203847 A365811 * A266726 A030194 A190494
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected by Charles R Greathouse IV, Mar 19 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)