0,3

Table of n, a(n) for n=0..73.

(PARI) a(n, b=5)=subst(Polrev(base(n, b)), x, b)) /* where */

base(n, b)={my(a=[n%b]); while(n\=b, a=concat(n%b, a)); a} \\ - M. F. Hasler, Nov 04 2011

Cf. A134028, A030101 - A030108, A004086.

Sequence in context: A235380 A116912 A255690 * A255590 A049563 A198495

Adjacent sequences: A030101 A030102 A030103 * A030105 A030106 A030107

nonn,base

David W. Wilson

approved