OFFSET
1,6
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
dcn[n_]:=Count[Range[n-1], _?(DigitCount[#, 2, 0]==DigitCount[ n, 2, 0]&)]; Array[dcn, 90] (* Harvey P. Dale, Jun 11 2011 *)
PROG
(Haskell)
import Data.List (elemIndices)
a079070 n = length $ elemIndices (a023416 n) $ map a023416 [1..n-1]
-- Reinhard Zumkeller, Jun 16 20011
CROSSREFS
KEYWORD
AUTHOR
Reinhard Zumkeller, Dec 21 2002
STATUS
approved