Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A075706
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A075706 Safe primes (A005385) (p and (p-1)/2 are primes) such that 8*p+1 (A023228) is also prime. +0
1
5, 11, 107, 179, 347, 479, 1187, 1307, 1367, 1487, 1619, 2027, 2207, 2447, 2999, 3119, 3467, 4007, 4079, 4139, 4799, 5087, 5807, 5927, 5939, 6827, 7079, 7247, 8699, 9587, 9839, 10607, 12107, 12539, 12659, 14207, 15299, 16139, 16187, 17027 (list; graph; listen)
OFFSET

1,1

EXAMPLE

11 is a prime, so is (11-1)/2=5 and also 8*11+1=89; 107 is a prime, (107-1)/2=53 and 8*107+1=857, ...

MAPLE

ts_sg8_var_pras := proc(nmax) local i, tren, atek; tren := 0: for i from 1 to nmax do atek := numtheory[safeprime](i): if (atek > tren) then if (isprime(atek)='true' and isprime(6*atek+1)='true') then tren := atek: fi; fi; od; end: seq(ts_sg8_var_pras(i), i=1..3000);

PROGRAM

(PARI) forprime(p=3, 20000, if(isprime((p-1)/2), if(isprime(8*p+1), print1(p", "))))

CROSSREFS

Cf. A005384, A005385, A059455, A023228.

Sequence in context: A056111 A090160 A062652 this_sequence A057178 A056265 A041909

Adjacent sequences: A075703 A075704 A075705 this_sequence A075707 A075708 A075709

KEYWORD

nonn

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), Oct 02 2002

EXTENSIONS

More terms from Ralf Stephan (ralf(AT)ark.in-berlin.de), Mar 19 2003

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 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research