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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140447 List of prime pairs of form p, p+22. 4
7, 29, 19, 41, 31, 53, 37, 59, 61, 83, 67, 89, 79, 101, 109, 131, 127, 149, 151, 173, 157, 179, 211, 233, 229, 251, 241, 263, 271, 293, 331, 353, 337, 359, 367, 389, 379, 401, 397, 419, 409, 431, 421, 443, 439, 461, 457, 479, 487, 509, 499, 521, 541, 563, 547 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The two primes p and p+22 are not necessarily adjacent.

LINKS

Seiichi Manyama, Table of n, a(n) for n = 1..10000

EXAMPLE

The pairs are (7, 29), (19, 41), (31, 53) etc.

MATHEMATICA

{#, # + 22} & /@ Select[Prime@ Range@ 100, PrimeQ@ # && PrimeQ[# + 22] &] // Flatten (* Michael De Vlieger, May 23 2016 *)

PROG

(Ruby)

require 'prime'

ary = []

Prime.each(487447).each{|i| ary += [i, i + 22] if (i + 22).prime?}

p ary  # Seiichi Manyama, May 22 2016

CROSSREFS

Cf. A000040, A094343.

Sequence in context: A050548 A261845 A181942 * A038934 A262285 A041088

Adjacent sequences:  A140444 A140445 A140446 * A140448 A140449 A140450

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Jun 26 2008

EXTENSIONS

Typo in definition edited by D. S. McNeil, Dec 10 2009

Entries verified and extended by D. S. McNeil, Dec 10 2009

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 September 22 03:15 EDT 2018. Contains 315267 sequences. (Running on oeis4.)