Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A128994
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A128994 First of three consecutive pairwise coprime numbers such that the product of any two plus the third is a prime. +0
1
1, 2, 3, 5, 6, 8, 19, 25, 32, 38, 53, 84, 110, 114, 119, 122, 125, 129, 133, 159, 170, 175, 229, 235, 263, 302, 313, 320, 385, 419, 489, 495, 543, 572, 593, 643, 749, 786, 815, 866, 929, 949, 966, 1122, 1123, 1173, 1254, 1365, 1459, 1470, 1508, 1542, 1565, 1584 (list; graph; listen)
OFFSET

1,2

EXAMPLE

For 6 the next two numbers such that all are pairwise coprime are 7 and 11.

All three numbers 6*7+11, 6*11+7, 7*11+6 are prime, therefore 6 is in the sequence.

MATHEMATICA

l = {}; For[n = 1, n < 2000, n++, a = n; i = 1; While[Not[GCD[a, a + i]], i++ ]; b = a + i; i = 1; While[Not[GCD[a, b + i] == 1 && GCD[b, b + i] == 1], i++ ]; c = b + i; If[PrimeQ[a*b + c] && PrimeQ[a*c + b] && PrimeQ[b*c + a], AppendTo[l, n]]]; l

CROSSREFS

Sequence in context: A139443 A088497 A088485 this_sequence A098211 A073673 A118809

Adjacent sequences: A128991 A128992 A128993 this_sequence A128995 A128996 A128997

KEYWORD

nonn

AUTHOR

J. M. Bergot (thekingfishb(AT)yahoo.ca), Apr 30 2007

EXTENSIONS

Edited and extended by Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Aug 07 2007

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 September 5 19:27 EDT 2008. Contains 143485 sequences.


AT&T Labs Research