

A227095


Numbers whose base8 sum of digits is 8.


9



15, 22, 29, 36, 43, 50, 57, 71, 78, 85, 92, 99, 106, 113, 120, 134, 141, 148, 155, 162, 169, 176, 197, 204, 211, 218, 225, 232, 260, 267, 274, 281, 288, 323, 330, 337, 344, 386, 393, 400, 449, 456, 519, 526, 533, 540, 547, 554, 561, 568, 582, 589, 596, 603
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Subsequence of A016993.  Michel Marcus, Sep 03 2013
In general, the set of numbers with sum of baseb digits equal to b is a subset of { (b1)*k + 1; k = 2, 3, 4, ... }.  M. F. Hasler, Dec 23 2016


LINKS

Table of n, a(n) for n=1..54.


EXAMPLE

The 8ary expansion of 15 is (1,7), which has sum of digits 8.
The 8ary expansion of 78 is (1,1,6), which has sum of digits 8.
10 is not on the list since the 8ary expansion of 10 is (1,2), which has sum of digits 3 not 8.


MATHEMATICA

Select[Range@ 603, Total@ IntegerDigits[#, 8] == 8 &] (* Michael De Vlieger, Dec 23 2016 *)


PROG

(Sage) [i for i in [0..1000] if sum(Integer(i).digits(base=8))==8]
(PARI) select( is(n)=sumdigits(n, 8)==8, [1..999]) \\ M. F. Hasler, Dec 23 2016


CROSSREFS

Cf. A018900, A187813.
Cf. A226636 (b = 3), A226969 (b = 4), A227062 (b = 5), A227080 (b = 6), A227092 (b = 7), A227095 (b = 8), A227238 (b = 9), A052224 (b = 10).
Sequence in context: A092783 A108638 A076379 * A038753 A006615 A114867
Adjacent sequences: A227092 A227093 A227094 * A227096 A227097 A227098


KEYWORD

nonn,base


AUTHOR

Tom Edgar, Sep 01 2013


STATUS

approved



