login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098406 a(n) = (10^n + 17)/9. 3
2, 3, 13, 113, 1113, 11113, 111113, 1111113, 11111113, 111111113, 1111111113, 11111111113, 111111111113, 1111111111113, 11111111111113, 111111111111113, 1111111111111113, 11111111111111113, 111111111111111113 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
A097683 gives numbers k such that a(k) is prime.
a(n) = A047855(n)+1 = A002275(n)+2.
LINKS
FORMULA
a(1) = 3; a(n) = a(n-1)+10^(n-1).
a(1) = 3; a(n) = 10*a(n-1)-17.
G.f.: ( 2-19*x ) / ( (10*x-1)*(x-1) ). - R. J. Mathar, Jan 27 2017
EXAMPLE
a(5) = (100000+17)/9 = 11113.
MATHEMATICA
FromDigits/@Table[PadLeft[{3}, n, 1], {n, 20}] (* Harvey P. Dale, Jun 18 2011 *)
PROG
(PARI) for(n=1, 18, print1(((10^n)+17)/9, ", "))
CROSSREFS
Sequence in context: A068096 A098462 A125283 * A280012 A224792 A062447
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Sep 07 2004
EXTENSIONS
a(0) from Ivan Panchenko, Nov 02 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 11:01 EDT 2024. Contains 371936 sequences. (Running on oeis4.)