OFFSET
1,1
COMMENTS
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
13 is in the list because 13 is not a multiple of 1 + 3 = 4.
MATHEMATICA
Select[Range[101], !IntegerQ[#/Total[IntegerDigits[#]]] &] (* Jayanta Basu, May 05 2013 *)
PROG
(PARI) isok(k) = {(k % sumdigits(k)) != 0} \\ Harry J. Smith, Nov 03 2009
(Haskell)
import Data.List (findIndices)
a065877 n = a065877_list !! (n-1)
a065877_list = map succ $ findIndices (> 0) $ map a070635 [1..]
-- Reinhard Zumkeller, Apr 07 2011
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Nov 26 2001
STATUS
approved