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!)
A323639 a(n) = 3*(10^n - 4)/9. 1
-1, 2, 32, 332, 3332, 33332, 333332, 3333332, 33333332, 333333332, 3333333332, 33333333332, 333333333332, 3333333333332, 33333333333332, 333333333333332, 3333333333333332, 33333333333333332, 333333333333333332, 3333333333333333332, 33333333333333333332 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (-1+13*x)/((1-x)*(1-10*x)).
a(n) = 11*a(n-1) - 10*a(n-2).
a(n) = A002277(n) - 1.
a(n) = 2*A246057(n-1) for n > 0.
a(2*n) = (A002277(n)+1) * (3*A002277(n)-1).
a(2*n) = A073555(n+1) * A198971(n-1) for n > 0.
EXAMPLE
(0+1) * (3*0-1) = -1.
(3+1) * (3*3-1) = 32.
(33+1) * (3*33-1) = 3332.
(333+1) * (3*333-1) = 333332.
(3333+1) * (3*3333-1) = 33333332.
(33333+1) * (3*33333-1) = 3333333332.
-------------------------------------
8 * 4 = 32.
68 * 49 = 3332.
668 * 499 = 333332.
6668 * 4999 = 33333332.
66668 * 49999 = 3333333332.
MATHEMATICA
Table[(10^n-4)/3, {n, 0, 20}] (* or *) LinearRecurrence[{11, -10}, {-1, 2}, 21] (* Harvey P. Dale, Jan 09 2021 *)
PROG
(PARI) {a(n) = 3*(10^n-4)/9}
(PARI) N=40; x='x+O('x^N); Vec((-1+13*x)/((1-x)*(1-10*x)))
CROSSREFS
Sequence in context: A224293 A053065 A091707 * A060868 A350138 A270445
KEYWORD
sign
AUTHOR
Seiichi Manyama, Aug 31 2019
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:40 EDT 2024. Contains 371936 sequences. (Running on oeis4.)