login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A309754
Digits of the 2-adic integer arctanh(2).
6
0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1
OFFSET
0
COMMENTS
arctanh(x) = x + x^3/3 + x^5/5 + x^7/7 + ...
LINKS
FORMULA
a(n) = (A309753(n+1) - A309753(n))/2^n.
EXAMPLE
arctanh(2) = ...0111000110010001010010010111010001111010.
MAPLE
N:= 100: # for a(0)..a(N)
T:= 0:
for k from 1 to N by 2 do
T:= padic:-evalp(T + 2^k/k, 2, N+1)
od:
0, op(op([1, 3], T)); # Robert Israel, Jul 10 2020
PROG
(PARI) a(n) = lift(sum(i=0, (n-1)/2, Mod(2^(2*i+1)/(2*i+1), 2^(n+1))))\2^n
CROSSREFS
Sequence in context: A284893 A316829 A277674 * A112690 A316343 A288864
KEYWORD
nonn,base
AUTHOR
Jianing Song, Aug 15 2019
STATUS
approved