Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096869
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096869 Difference between the n-th repunit and the next prime. +0
4
1, 2, 2, 6, 2, 8, 40, 6, 2, 10, 2, 38, 28, 12, 118, 12, 8, 20, 60, 20, 46, 78, 6, 2, 102, 272, 80, 246, 6, 80, 102, 36, 116, 10, 36, 10, 238, 32, 20, 6, 78, 412, 88, 426, 118, 172, 48, 58, 112, 8, 56, 430, 90, 136, 240, 30, 140, 232, 162, 40, 226, 48, 116, 60, 690, 146, 210 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) = A096497(n) - A002275(n) = A096499(n) - A096870(n).

MATHEMATICA

NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; Table[ NextPrim[(10^n - 1)/9] - (10^n - 1)/\ 9, {n, 70}]

CROSSREFS

Cf. A096870.

Sequence in context: A165460 A028330 A071052 this_sequence A154009 A099985 A110765

Adjacent sequences: A096866 A096867 A096868 this_sequence A096870 A096871 A096872

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 12 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 8 08:31 EST 2009. Contains 170430 sequences.


AT&T Labs Research