OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10
EXAMPLE
n | a(n) | A325910(n)
--+------------------+-----------------
1 | 1 | 1
2 | 12 | 10
3 | 1121 | 1101
4 | 11112212 | 11110010
5 | 1111111122221121 | 1111111100001101
MATHEMATICA
a[n_] := ((-1)^n * Sum[(-1)^k * 10^(2^k), {k, 0, n - 2}] + 10^(2^(n - 1)) - ((-1)^n + 3)/2)/9; 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)/9}
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 08 2019
STATUS
approved