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!)
A233274 Relative offsets from the middle point of each row of A233271 & A218616 to the first point where the former exceeds the latter, which apart of case a(3)=-1 is always left of or at the middle point. 4
0, 0, -1, 0, 0, 0, 0, 1, 2, 4, 8, 13, 22, 38, 68, 125, 232, 429, 786, 1428, 2578, 4645, 8364, 15064, 27145, 48990, 88736, 161813, 298001, 555451, 1048207, 1999608, 3844722, 7425094, 14356699, 27722560, 53374986 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,9

COMMENTS

The sequence tells how many positions to the left of center of each row/subrange (of irregular tables like A233270, central point given by A233268) the sequences A233271 and A218616 cross each other (please see the linked graph).

LINKS

Table of n, a(n) for n=1..37.

A. Karttunen, Sequences A233271 and A218616 compared with OEIS Plot2-script

FORMULA

a(1)=a(2)=0, and for n > 2, a(n) = ⌈(A213709(n-1)/2)⌉ - A226060(n-2) - 1. Where ⌈x⌉ stands for ceiling(x)

PROG

(Scheme)

(define (A233274 n) (if (< n 3) 0 (- (+ -1 (ceiling->exact (/ (A213709 (- n 1)) 2))) (A226060 (- n 2)))))

(define (A233274v2 n) (if (< n 2) 0 (- (A233268 n) (+ (A218600 (- n 1)) (A226060 (- n 2))) 1)))

CROSSREFS

Cf. A234020, A213709, A218600, A226060, A233268, A179016, A218616, A233270.

Sequence in context: A018066 A164509 A164415 * A336980 A164417 A258600

Adjacent sequences:  A233271 A233272 A233273 * A233275 A233276 A233277

KEYWORD

sign

AUTHOR

Antti Karttunen, Jan 01 2014

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 May 7 01:15 EDT 2021. Contains 343635 sequences. (Running on oeis4.)