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!)
A228639 Decimal expansion of Sum_{n>=1} (-1)^floor(n*sqrt(2))/n. 5
5, 1, 5, 4, 1, 8, 4, 5, 5, 8, 2, 5, 4, 1, 7, 9, 9, 1, 3, 3, 0, 1, 1, 9, 1, 9, 9, 6, 3, 9, 4, 2, 9, 8, 7, 1, 1, 0, 4, 5, 6, 7, 9, 1, 8, 5, 4, 8, 0, 1, 5, 8, 5, 2, 9, 1, 7, 3, 6, 7, 1, 8, 6, 6, 0, 9, 8, 7, 9, 1, 8, 9, 7, 2, 1, 4, 9, 9, 0, 5, 7, 0, 1, 3, 2, 0, 5 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
From Jon E. Schoenfield, Jul 08 2015: (Start)
If we define the partial sum s_n = Sum_{i=1..n} (-1)^floor(i*sqrt(2))/i then the real-valued sequence s_1, s_2, s_3, ... converges very slowly, and the convergence is not smooth because of the aperiodicity created by the (-1)^floor(i*sqrt(2)) factor. However, if we define the partial sum S_j = s_(n_j) where n_j is the j-th Pell number, then the real-valued sequence S_1, S_2, S_3, ... converges fairly quickly. It appears that, for either even or odd values of j, as j increases, S_j approaches
c0 + (c1 + k1*log(n))/n_j + (c2 + k2*log(n))/(n_j)^2 + (c3 + k3*log(n))/(n_j)^3 + ...,
but the coefficients c1, k1, c2, k2, c3, k3, etc. take one set of values when j is even and a different set of values when j is odd.
However, it also appears that, if we define the sequence of real numbers t_1, t_2, ... that results from adjusting each of the terms of the S_j sequence using
t_j = S_j - Sum{i=1..D} (-1)^(ij)*sqrt(2)*(j*d_i+(j mod 2)) / r^(j*(2i-1))
where r is the limit of the ratio Pell(j+1)/Pell(j) as j increases, i.e., r = 1 + sqrt(2), and d is the (empirically-determined) integer sequence
d = {0, 1, 3, 61, 395, 47041, 504987, 182501677, 2705354787, 2186736573121, ...}
(from which we use the first D terms in the above formula for t_j), then the sequence of real numbers t_1, t_2, ... follows the simpler form
c0 + C1/n_j + C2/(n_j)^2 + C3/(n_j)^3 + ...
where the coefficients c0, C1, C2, C3, etc. do not depend on the parity of j, and simple numerical methods can be used to evaluate those coefficients. E.g., if we use D=10 (or more), and if each of the values t_j is computed with a little more than 100 digits of precision, then c0 = -0.51541845582541799... can be obtained to 100 digits of precision by applying simple numerical methods to accelerate the convergence of the 21 values t_1, t_2, ..., t_21. (End)
REFERENCES
A. P. Prudnikov, Yu. A. Brychkov and O. I. Marichev, "Integrals and Series", Volume 1: "Elementary Functions", Chapter 5: "Series", New York, Gordon and Breach Science Publishers, 1986-1992, p. 652, formula 6.
LINKS
FORMULA
Sum_{n>=1} (-1)^floor(n*sqrt(2))/n.
EXAMPLE
-0.51541845... (in reference only -0.5154, next digits computed by Vaclav Kotesovec).
-0.51541845582541799133011919963942987110456791854801... - Jon E. Schoenfield, Jul 08 2015
CROSSREFS
Sequence in context: A240995 A122002 A322602 * A073226 A309282 A021198
KEYWORD
nonn,cons
AUTHOR
Vaclav Kotesovec, Aug 31 2013
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 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)