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!)
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

Antti Karttunen, Table of n, a(n) for n = 1..8191

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

Cf. A004001, A053644, A072376, A266348, A265754, A266640.

Sequence in context: A285328 A321030 A290529 * A219094 A213268 A291118

Adjacent sequences:  A266346 A266347 A266348 * A266350 A266351 A266352

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 23:09 EDT 2021. Contains 347664 sequences. (Running on oeis4.)