OFFSET
0,2
COMMENTS
The sequence has consecutive differences of 3, 3, 1, 348 after the 4th term for as long as the sequence exists. The differences add up to 355 which is the numerator of a significant convergent to Pi.
It appears that the sequence has only 232 terms with the last term being 104005.
Sum_{k=0..104005} sin(2k+1)^(2k+1) = -27.592119...
LINKS
Jwalin Bhatt, Table of n, a(n) for n = 0..231
EXAMPLE
-----------------------------------------
| k | Sum_{n=0..k} sin(2k+1)^(2k+1) |
-----------------------------------------
| 0 | 0.8414... |
| 1 | 0.8442... |
| 2 | 0.0334... |
| 3 | 0.0862... |
| 4 | 0.0866... |
| 5 | -0.9132... |
-----------------------------------------
PROG
(Python)
from mpmath import iv
def a_upto(limit):
sum_, lows = iv.mpf('0'), [0]
for i in range(1, 1+limit):
t = 2*i + 1
sum_ += iv.sin(t)**t
if sum_ < 0:
lows.append(i)
sum_ = 0
return lows
print(a_upto(85000)) # Jwalin Bhatt, Nov 09 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Jwalin Bhatt, Sep 06 2025
STATUS
approved
