login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A132157
a(n) = number of times n occurs in A063882.
3
4, 1, 1, 1, 2, 2, 1, 2, 2, 1, 3, 2, 1, 2, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2, 2, 2, 3, 2, 1, 3, 2, 2, 3, 2, 1, 2, 2, 2, 1, 3, 2, 2, 1, 2
OFFSET
1,1
COMMENTS
a(A202016(n)) = 1. [Reinhard Zumkeller, Dec 08 2011]
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..200 [Taken from the Balamohan et al. reference]
B. Balamohan, A. Kuznetsov and S. Tanny, On the behavior of a variant of Hofstadter's Q-sequence, J. Integer Sequences, Vol. 10 (2007), #07.7.1.
PROG
(Haskell)
import Data.List (group)
a132157 n = a132157_list !! (n-1)
a132157_list = (map length) (group a063882_list)
-- Reinhard Zumkeller, Dec 08 2011
CROSSREFS
Sequence in context: A039927 A336722 A073802 * A103163 A128211 A348986
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 06 2007
STATUS
approved