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

A178338
Numbers k such that the sum of decimal digits of k does not divide k+1.
2
2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77
OFFSET
1,1
LINKS
MAPLE
read(transforms): A178338 := proc(n) option remember: local k: if(n=1)then return 2: fi: for k from procname(n-1)+1 do if((k+1) mod digsum(k) <> 0)then return k: fi: od: end: seq(A178338(n), n=1..68); # Nathaniel Johnston, May 27 2011
CROSSREFS
Complement of A144980.
Sequence in context: A296861 A069784 A259624 * A048097 A130843 A350046
KEYWORD
base,easy,nonn
AUTHOR
Giovanni Teofilatto, May 25 2010
STATUS
approved