A092910 a(n) is the (3n+2)-th component of the continued fraction for sum(k>=0,2^(-k!)).
3, 4, 3, 3, 2, 3, 4, 3, 2, 4, 3, 2, 3, 3, 4, 3, 2, 4, 3, 3, 2, 3, 4, 2, 3, 4, 3, 2, 3, 3, 4, 3, 2, 4, 3, 3, 2, 3, 4, 3, 2, 4, 3, 2, 3, 3, 4, 2, 3, 4, 3, 3, 2, 3, 4, 2, 3, 4, 3, 2, 3, 3, 4, 3, 2, 4, 3, 3, 2, 3, 4, 3, 2, 4, 3, 2, 3, 3, 4, 3, 2, 4, 3, 3, 2, 3, 4, 2, 3, 4, 3, 2, 3, 3, 4, 2, 3, 4, 3, 3, 2, 3, 4, 3, 2
Offset: 0
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 0..8191
Programs
-
PARI
a(n)=5-component(contfrac(sum(i=0,10,1/2^(2^i))),n+3)/2
-
Scheme
(define (A092910 n) (- 5 (* 1/2 (A007400 (+ 2 n))))) ;; Code for A007400 given under that entry. - Antti Karttunen, Aug 12 2017
Formula
a(n) = 5 - (A007400(n+2)/2).
Comments