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!)
A325907 a(n) = ( (-1)^n * Sum_{k=0..n-2} (-1)^k*10^(2^k) + 10^(2^(n-1)) - ((-1)^n+3)/2 )/3. 7
3, 36, 3363, 33336636, 3333333366663363, 33333333333333336666666633336636, 3333333333333333333333333333333366666666666666663333333366663363 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are elements of A213517.
LINKS
FORMULA
a(n) = 3 * A325906(n).
a(n) = -a(n-1) - 1 + A093137(2^(n-2)) * 10^(2^(n-2)).
EXAMPLE
36 = -3 - 1 + 4 * 10^1.
3363 = -36 - 1 + 34 * 10^2.
33336636 = -3363 - 1 + 3334 * 10^4.
3333333366663363 = -33336636 - 1 + 33333334 * 10^8.
------------------------------------------------------
T(n) = n*(n+1)/2.
T(3) = 6.
T(36) = 666.
T(3363) = 5656566.
T(33336636) = 555665666566566.
T(3333333366663363) = 5555555666655656666556566566566.
MATHEMATICA
a[n_] := ((-1)^n * Sum[(-1)^k * 10^(2^k), {k, 0, n - 2}] + 10^(2^(n - 1)) - ((-1)^n + 3)/2)/3; Array[a, 7] (* Amiram Eldar, May 07 2021 *)
PROG
(PARI) {a(n) = ((-1)^n*sum(k=0, n-2, (-1)^k*10^2^k)+10^2^(n-1)-((-1)^n+3)/2)/3}
CROSSREFS
Sequence in context: A368076 A136393 A168370 * A158093 A163966 A262825
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 08 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 23 08:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)