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”).

A101403
Number of times that n occurs in A101402.
6
1, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 2, 2, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 3, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 2, 2, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 2, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 2, 2, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 3, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 2, 2, 3, 2, 4, 3, 2, 3, 3, 2, 4, 4, 3, 2, 4, 3, 2, 3, 3
OFFSET
0,2
COMMENTS
First differences of A246439; see A246431 for smallest m such that a(m)=n; a(A129117(n)) = 5. - Reinhard Zumkeller, Aug 28 2014
LINKS
FORMULA
a(n) > 1 for all n > 0, see comment in A101402. - Charles R Greathouse IV, Sep 10 2014
MATHEMATICA
A101402[0] = 0; A101402[1] = 1;
A101402[n_] := A101402[n] = A101402[2^(Floor[Log[2, n - 1]])] + A101402[n - 1 - 2^(Floor[Log[2, n - 1]])]; TheList = Table[A101402[i], {i, 0, 279}];
A101403 = Table[Count[TheList, i], {i, 0, Last[TheList]}]
(* Keith Schneider, May 25 2007 *)
PROG
(Haskell)
import Data.List (group)
a101403 n = a101403_list !! n
a101403_list = map length $ group a101402_list
-- Reinhard Zumkeller, Aug 27 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Odimar Fabeny, Jan 16 2005
EXTENSIONS
More terms from Keith Schneider, May 25 2007
STATUS
approved