OFFSET
1,2
COMMENTS
a(1498) = 5999 is the smallest term that is congruent to 5 modulo 9.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(t -> convert(convert(t, base, 10), `+`) mod 4 = 0, [$1..1000]); # Robert Israel, Feb 09 2016
MATHEMATICA
Select[Range[0, 250], IntegerQ[Total[IntegerDigits[#]]/4] &]
PROG
(Magma) [n: n in [0..250] | IsIntegral(&+Intseq(n)/4)];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bruno Berselli, Feb 09 2016
STATUS
approved