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!)
A309752 Digits of the 2-adic integer arctan(2). 4
0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0
COMMENTS
arctan(x) = x - x^3/3 + x^5/5 - x^7/7 + ...
LINKS
Wikipedia, p-adic number
FORMULA
a(n) = (A309751(n+1) - A309751(n))/2^n.
EXAMPLE
arctan(2) = ...0101100110111010110101111110001011001010.
PROG
(PARI) a(n) = lift(sum(i=0, (n-1)/2, Mod((-1)^i*2^(2*i+1)/(2*i+1), 2^(n+1))))\2^n
CROSSREFS
Sequence in context: A175992 A173922 A213676 * A209355 A141743 A268384
KEYWORD
nonn,base
AUTHOR
Jianing Song, Aug 15 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 March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)