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!)
A276438 a(n) = (A274647(n)-A274647(n-1)) / n. 3
1, 1, 1, -1, 1, 1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 2, 1, -1, -1, 2, 1, -1, 1, -1, -1, 2, 1, -1, -1, -1, 1, -1, 2, 1, -1, -1, 2, 1, -1, -1, -1, -1, 1, -1, 1, -1, 1, -1, 1, 1, 1, -1, 1, -1, -1, 2, 1, -1, -1, -1, 1, -1, 1, 1, 1, -1, -1, -1, 1, -1, 2, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, 1, 1, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,24
COMMENTS
a(n) tells what k was finally used when determining the value of A274647(n), with minus sign if subtraction was chosen and with positive sign if addition was chosen.
First 1 occurs at n=1, first 2 at n=24, first 3 at n=128, first 4 at n=204, first 5 at n=17903, first 6 at n=210027.
First -1 occurs at n=4, first -2 at n=124, first -3 at n=5882.
LINKS
FORMULA
a(n) = (A274647(n)-A274647(n-1)) / n.
PROG
(Scheme) (define (A276438 n) (/ (- (A274647 n) (A274647 (- n 1))) n))
CROSSREFS
Cf. A274647.
Cf. A276439 (partial sums).
Sequence in context: A113120 A154843 A062557 * A338274 A210960 A339095
KEYWORD
sign
AUTHOR
Antti Karttunen, Sep 04 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)