OFFSET
1,3
COMMENTS
Subsequence of A061383.
A180160(a(n)) = 0. - Reinhard Zumkeller, Aug 15 2010
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
135 is in the list because (1+3+5)/3 = 3 and 3 is a digit of 135.
MATHEMATICA
idQ[n_]:=Module[{idn=IntegerDigits[n], m}, m=Mean[idn]; IntegerQ[m] && MemberQ[idn, m]]; Select[Range[0, 500], idQ] (* Harvey P. Dale, Jun 10 2011 *)
PROG
(Haskell)
a175688 n = a175688_list !! (n-1)
a175688_list = filter f [0..] where
f x = m == 0 && ("0123456789" !! avg) `elem` show x
where (avg, m) = divMod (a007953 x) (a055642 x)
-- Reinhard Zumkeller, Jun 18 2013
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Claudio Meller, Aug 09 2010
EXTENSIONS
Edited by Reinhard Zumkeller, Aug 13 2010
STATUS
approved