Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A092961
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A092961 Least k so that (k-1)/n and k*n + 1 both are primes. +0
3
4, 5, 10, 9, 26, 13, 78, 17, 64, 21, 56, 61, 40, 239, 46, 81, 290, 55, 58, 41, 148, 45, 162, 73, 76, 131, 136, 57, 320, 61, 528, 65, 100, 69, 666, 253, 186, 77, 118, 681, 206, 85, 130, 89, 136, 231, 236, 97, 148, 101, 562, 885, 372, 163, 606, 113, 628, 175, 650, 181 (list; graph; listen)
OFFSET

1,1

COMMENT

Obviously a(n) is odd or even as n is even or odd.

EXAMPLE

a(4) = 9 as (9-1)/4 = 2 and 9*4 + 1 =37 both are primes.

a(9) = 64, (64-1)/9 = 7 and 64*9 + 1= 577 both are primes.

PROGRAM

(PARI) a(n)=for(i=1, 10+n^3, if(Mod(i-1, n)==0 && isprime((i-1)/n) && isprime(i*n+1), return(i)))

CROSSREFS

Cf. A092962, A092963.

Sequence in context: A042427 A009778 A060648 this_sequence A115945 A084750 A092027

Adjacent sequences: A092958 A092959 A092960 this_sequence A092962 A092963 A092964

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 25 2004

EXTENSIONS

More terms from Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 26 2004

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 December 9 18:50 EST 2009. Contains 170568 sequences.


AT&T Labs Research