login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A072785
Differences between A072781 and A072738.
4
0, 0, -1, 0, 0, 1, 0, 0, -1, -1, 0, 0, 0, 1, 1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,1
LINKS
Boris Putievskiy, Transformations [of] Integer Sequences And Pairing Functions, 2012, arXiv:1212.2732 [math.CO], 2012.
FORMULA
From Boris Putievskiy, Jan 16 2013: (Start)
a(n) = floor((2*A000027(n)-A003056(n)^2-A003056(n))/(A003056(n)+3))*(-1)^A003056(n).
a(n) = floor((2*n-t*t-t)/(t+3))*(-1)^t where t=floor((-1+sqrt(8*n-7))/2).
(End)
PROG
(Scheme) (define (A072785 n) (- (A072781 n) (A072738 n)))
CROSSREFS
Sequence in context: A285177 A144595 A340507 * A188297 A289128 A272664
KEYWORD
sign,tabl
AUTHOR
Antti Karttunen, Jun 12 2002
STATUS
approved