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!)
A266349 a(n) = 1 + A053644(n) - A004001(n+1) = 1 + A072376(n) - A266348(n). 2
1, 1, 1, 2, 1, 1, 1, 4, 3, 2, 2, 1, 1, 1, 1, 8, 7, 6, 5, 5, 4, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 16, 15, 14, 13, 12, 12, 11, 10, 9, 9, 8, 7, 7, 6, 6, 6, 5, 4, 4, 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 32, 31, 30, 29, 28, 27, 27, 26, 25, 24, 23, 23, 22, 21, 20, 20, 19, 18, 18, 17, 17, 17, 16, 15, 14, 14, 13, 12, 12, 11, 11, 11, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Used in a recursive formula of A265754.
LINKS
FORMULA
a(n) = 1 + A053644(n) - A004001(n+1).
a(n) = 1 + A072376(n) - A266348(n).
MATHEMATICA
b[1] = 1; b[2] = 1; b[n_] := b[n] = b[b[n - 1]] + b[n - b[n - 1]]; Table[1 + 2^(Ceiling@ Log2[n + 1] - 1) - b[n + 1], {n, 96}] (* Michael De Vlieger, Jan 26 2016, after Robert G. Wilson v at A004001 *)
PROG
(Scheme, two variants)
(define (A266349 n) (+ 1 (- (A053644 n) (A004001 (+ 1 n)))))
(define (A266349 n) (+ 1 (- (A072376 n) (A266348 n))))
CROSSREFS
Sequence in context: A285328 A321030 A290529 * A219094 A362824 A213268
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 22 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 10:42 EDT 2024. Contains 371967 sequences. (Running on oeis4.)