Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097684
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097684 Numbers n such that (10^n-1)/9 + 6 is prime. +0
4
1, 2, 4, 5, 8, 23, 29, 40, 131, 136, 215, 611, 767, 2153, 2576 (list; graph; listen)
OFFSET

1,2

COMMENT

Values indicate primes of the form "(n-1) ones followed by a seven". Related to the base 10 repunit primes.

Some of the larger entries may only correspond to probable primes.

LINKS

Index entries for primes involving repunits

FORMULA

a(n) = A056655(n) + 1 for all n >= 0.

MATHEMATICA

Do[ If[ PrimeQ[(10^n - 1)/9 + 6], Print[n]], {n, 0, 5000}] (from Robert G. Wilson v Oct 14 2004)

PROGRAM

(PARI) for (i=1, 1000, if(isprime((10^i-1)/9 + 6), print1(i, ", "), print1("."))) (Bouayoun)

CROSSREFS

Cf. A004023, A056655, A097683, A097685.

Sequence in context: A045591 A045581 A092061 this_sequence A092752 A152603 A159260

Adjacent sequences: A097681 A097682 A097683 this_sequence A097685 A097686 A097687

KEYWORD

nonn

AUTHOR

Carl R. White (cyrek(AT)cyreksoft.yorks.com), Aug 19 2004

EXTENSIONS

a(12) and a(13) from Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Aug 23 2004.

a(12)-a(15) from Rick L. Shepherd (rshepherd2(AT)hotmail.com), Aug 23 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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research