Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A096870
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A096870 Difference between the n-th repunit and the previous prime. +0
4
4, 2, 2, 18, 2, 20, 10, 2, 14, 52, 8, 18, 58, 58, 72, 4, 20, 74, 84, 58, 14, 18, 82, 168, 28, 50, 168, 84, 8, 138, 112, 82, 2, 28, 2, 62, 34, 50, 74, 24, 8, 54, 204, 22, 428, 40, 118, 200, 72, 40, 30, 42, 284, 44, 114, 268, 80, 18, 4, 74, 142, 182, 140, 112, 214, 152, 90 (list; graph; listen)
OFFSET

2,1

FORMULA

a(n) = A002275(n) - A096498(n) = A096499(n) - A096869(n).

MATHEMATICA

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

CROSSREFS

Cf. A096869.

Sequence in context: A055630 A136202 A075418 this_sequence A134977 A145326 A016513

Adjacent sequences: A096867 A096868 A096869 this_sequence A096871 A096872 A096873

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 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research