[go: up one dir, main page]

login
A234587
Odd-indexed terms of A234586.
2
1, 1, 3, 1, 3, 5, 7, 5, 7, 5, 7, 5, 7, 9, 11, 9, 11, 13, 15, 13, 15, 17, 19, 17, 19, 17, 19, 17, 19, 21, 23, 21, 23, 21, 23, 21, 23, 25, 27, 25, 27, 25, 27, 25, 27, 29, 31, 29, 31, 33, 35, 33, 35, 37, 39, 37, 39, 37, 39, 37, 39, 41, 43, 41, 43, 45, 47, 45, 47, 49, 51, 49, 51, 49, 51, 49, 51, 53, 55, 53, 55, 57
OFFSET
1,3
COMMENTS
a(n) = abs(A234586(n+1) - A234586(n)) = A234586(2*n-1). - Reinhard Zumkeller, Jul 15 2014
LINKS
FORMULA
There is a surprising connection with the Thue-Morse sequence A010060. If the k-th run of equal terms in A010060 (k>=0) has length L (L=1 or 2, see A026465), replace it with 2L copies of the pair 4k+1, 4k+3. This produces the current sequence apart from the initial 1: 0 1 1 0 1 0 0 1 ... becomes 1 3 1 3 5 7 5 7 5 7 5 7 9 11 9 11 13 ... - N. J. A. Sloane, Dec 31 2013
PROG
(Haskell)
a234587 n = a234587_list !! (n-1)
-- where a234587_list is defined in A234586.
-- Reinhard Zumkeller, Jul 15 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini, Dec 31 2013
STATUS
approved