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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070746 Numbers n such that n 1's followed by n is a prime. 7
1, 7, 709, 2203, 4481, 5107, 11489 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

The number corresponding to a(3) has been certified prime with Primo; those corresponding to a(4), a(5), a(6) are probable primes.

EXAMPLE

7 is in the sequence because 11111117 (seven 1's followed by 7) is prime.

MATHEMATICA

Do[ If[ PrimeQ[ FromDigits[ Join[ IntegerDigits[(10^n - 1)/9], IntegerDigits[n]]]], Print[n]], {n, 1, 2000, 2}]

PROG

(WinPFGW) Primality testing r(5107)*10^len(5107)+5107 [N-1/N+1, Brillhart-Lehmer-Selfridge] r(5107)*10^len(5107)+5107 is Fermat and Lucas PRP! (79 seconds). [from Jason Earls]

CROSSREFS

Cf. A068817, A084428.

Sequence in context: A186160 A129291 A159815 * A068004 A098110 A062334

Adjacent sequences:  A070743 A070744 A070745 * A070747 A070748 A070749

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), May 03 2002

EXTENSIONS

2203 from Jason Earls (zevi_35711(AT)yahoo.com), May 06 2002

4841 from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Sep 02 2002.

5107 from Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Jun 29 2003

11489 from Farideh Firoozbakht (f.firoozbakht(AT)sci.ui.ac.ir), Jul 04 2003

Edited by T. D. Noe (noe(AT)sspectra.com), Oct 30 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 18:09 EST 2012. Contains 205663 sequences.