login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277889 After zero, excess of the odd terms in A276573 (the infinite trunk of least squares beanstalk) over the even terms. 4
0, 1, 0, -1, 0, 1, 0, -1, 0, -1, 0, -1, -2, -1, -2, -3, -2, -1, -2, -1, 0, -1, 0, 1, 0, 1, 0, -1, 0, -1, -2, -1, 0, -1, -2, -1, -2, -1, -2, -1, -2, -3, -2, -1, -2, -1, -2, -3, -2, -3, -4, -3, -2, -3, -2, -1, -2, -1, -2, -3, -4, -3, -4, -3, -2, -3, -2, -1, -2, -1, -2, -1, -2, -3, -2, -1, -2, -1, -2, -1, 0, -1, 0, 1, 2, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,13

COMMENTS

Is a(2358) = 0 the last zero of this sequence? See also comments in A277891.

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..41014

FORMULA

a(0) = 0; for n >= 1, a(n) = a(n-1) - (-1)^A276573(n).

PROG

(Scheme, with memoization-macro definec)

(definec (A277889 n) (if (zero? n) n (- (A277889 (- n 1)) (expt -1 (A276573 n)))))

CROSSREFS

Cf. A002828, A276573, A277890, A277891.

Sequence in context: A231775 A128065 A329744 * A018194 A338630 A286281

Adjacent sequences:  A277886 A277887 A277888 * A277890 A277891 A277892

KEYWORD

sign

AUTHOR

Antti Karttunen, Nov 13 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 14 05:41 EDT 2021. Contains 342946 sequences. (Running on oeis4.)