Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108016
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108016 Primes of the form p(p+2)+6 where p and p+2 are primes. +0
1
41, 149, 5189, 39209, 186629, 213449, 1127849, 1192469, 1695209, 2965289, 3732629, 4359749, 4460549, 5673929, 6718469, 7225349, 11370389, 12446789, 12830729, 14607689, 14837909, 16016009, 17040389, 17288969, 20684309 (list; graph; listen)
OFFSET

1,1

COMMENT

Except for the first term, these numbers end in 9. p can take one of the forms 10k+1,10k+3,10k+7 or 10k+9. p=10k+1 => p(p+2)+6 = (10k+1)(10k+3)+6 = 10h+9. p can be 10k+1. p=10k+3 => p+2 = 0 mod 5 not prime. p cannot be 10k+3. p=10k+7 => p(p+2)+6 = (10k+7)(10k+9)+6 = 10h+9. p can be 10k+7. p=10k+9 => p(p+2)+6 = (10k+9)*(10k+11)+6 = 0 mod 5 not prime. p cannot be 10k+9. Thus by exhaustion p(p+2)+6 ends in 9.

EXAMPLE

11*13 + 6 = 149.

PROGRAM

(PARI) g(n, k) = forprime(x1=3, n, x2=x1+2; if(isprime(x2), p=x1*x2+k; if(isprime(p), print1(x1", ") ) ) )

CROSSREFS

Cf. A051779.

Adjacent sequences: A108013 A108014 A108015 this_sequence A108017 A108018 A108019

Sequence in context: A044754 A050954 A141957 this_sequence A142630 A082252 A105100

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 31 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 7 14:39 EDT 2008. Contains 144666 sequences.


AT&T Labs Research