login
A393637
Decimal expansion of 2*sin(Pi/8)/(1+cos(Pi/8)).
2
3, 9, 7, 8, 2, 4, 7, 3, 4, 7, 5, 9, 3, 1, 6, 0, 1, 3, 8, 2, 3, 1, 9, 5, 2, 4, 5, 2, 8, 9, 3, 5, 2, 4, 5, 7, 1, 9, 5, 7, 0, 1, 0, 0, 2, 6, 4, 3, 1, 8, 1, 9, 6, 3, 8, 4, 2, 2, 3, 3, 9, 9, 1, 6, 5, 0, 8, 5, 9, 2, 0, 8, 9, 2, 0, 5, 5, 4, 1, 2, 6, 1, 0, 6, 6, 3, 9, 8, 1, 2, 1, 1, 5, 2, 2, 9, 4, 2, 7, 5, 1, 5, 5, 2, 1
OFFSET
0,1
COMMENTS
Linear approximation of the type |h|=alpha*max(|x|,|y|)+beta*min(|x|,|y|) to the hypot function |h|=sqrt(x^2+y^2) attains the smallest maximum error when alpha = A393636 and beta is this constant. The absolute value of the minimax error of this approximation equals A393638.
LINKS
Ara Abdulsatar Assim, ASIC implementation of high-speed vector magnitude & arctangent approximator, Computing, Telecommunication and Control, 14 (2021), 7-14.
FORMULA
Equals 2*tan(Pi/16) = 2*A343060.
EXAMPLE
0.39782473475931601382...
MATHEMATICA
RealDigits[2*Tan[Pi/16], 10, 105][[1]] (* Amiram Eldar, Feb 24 2026 *)
PROG
(PARI) 2*sin(Pi/8)/(1+cos(Pi/8))
CROSSREFS
KEYWORD
nonn,cons,easy
AUTHOR
Stanislav Sykora, Feb 23 2026
STATUS
approved