Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A370975 a(n) = (A370952(n+1) - A370952(n)) /(2*n+1). 3

%I #16 Apr 17 2024 15:04:15

%S 1,1,-1,1,1,1,-2,2,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,1,1,-1,1,

%T -1,1,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-1,-1,2,-2,2,1,-2,2,-2,2,-2,

%U 2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2,-2,2

%N a(n) = (A370952(n+1) - A370952(n)) /(2*n+1).

%H Chai Wah Wu, <a href="/A370975/b370975.txt">Table of n, a(n) for n = 1..10000</a>

%o (Python)

%o from itertools import count, islice

%o def A370975_gen(): # generator of terms

%o a, aset = 1, {0,1}

%o for p in count(3,2):

%o for b in count(a%p,p):

%o if b not in aset:

%o aset.add(b)

%o yield (b-a)//p

%o a = b

%o break

%o A370095_list = list(islice(A370975_gen(),20)) # _Chai Wah Wu_, Apr 17 2024

%Y Cf. A370952, A372052.

%K sign

%O 1,7

%A _N. J. A. Sloane_, Apr 17 2024

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 August 6 07:30 EDT 2024. Contains 374960 sequences. (Running on oeis4.)