OFFSET
0,2
COMMENTS
The sequence has consecutive differences of 3, 3, 1, 348 after the 3rd 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 459 terms with the last term being 77918.
Sum_{k=0..77918} cos(2k+1)^(2k+1) = 78.59291259...
LINKS
Jwalin Bhatt, Table of n, a(n) for n = 0..458
EXAMPLE
-----------------------------------------
| k | Sum_{n=0..k} cos(2k+1)^(2k+1) |
-----------------------------------------
| 0 | 0.5403... |
| 1 | -0.4299... |
| 11 | 0.3501... |
| 12 | 1.1519... |
-----------------------------------------
PROG
(Python)
from mpmath import iv
def a_upto(limit):
sum_, highs = iv.mpf('0'), [0]
for i in range(1, 1+limit):
t = 2*i + 1
sum_ += iv.cos(t)**t
if sum_ > 0:
highs.append(i)
sum_ = 0
return highs
print(a_upto(40000)) # Jwalin Bhatt, Nov 13 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Jwalin Bhatt, Oct 08 2025
STATUS
approved
