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!)
A137877 Numbers k such that 18*k - 1 and 18*k + 1 are twin primes. 5
1, 4, 6, 10, 11, 15, 24, 29, 45, 46, 49, 59, 64, 71, 90, 104, 111, 116, 119, 126, 130, 144, 155, 165, 176, 181, 185, 196, 199, 204, 214, 225, 231, 235, 241, 249, 251, 266, 274, 276, 279, 301, 314, 319, 325, 326, 350, 364, 365, 370, 386, 396, 406, 416, 420, 431 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
1 is in the sequence since 18*1 - 1 = 17 and 18*1 + 1 = 19 are twin primes.
MATHEMATICA
q=18; lst={}; Do[r=n*q; If[PrimeQ[r-1]&&PrimeQ[r+1], AppendTo[lst, n]], {n, 1, 10^3}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 07 2008 *)
CROSSREFS
Sequence in context: A109270 A187331 A184923 * A246022 A174240 A328321
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 19 2008
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 May 9 08:36 EDT 2024. Contains 372346 sequences. (Running on oeis4.)