

A284805


Write in base k, complement, reverse. Case k = 7.


1



6, 5, 4, 3, 2, 1, 0, 47, 40, 33, 26, 19, 12, 5, 46, 39, 32, 25, 18, 11, 4, 45, 38, 31, 24, 17, 10, 3, 44, 37, 30, 23, 16, 9, 2, 43, 36, 29, 22, 15, 8, 1, 42, 35, 28, 21, 14, 7, 0, 341, 292, 243, 194, 145, 96, 47, 334, 285, 236, 187, 138, 89, 40, 327, 278, 229, 180
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


LINKS

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


EXAMPLE

a(14) = 46 because 14 in base 7 is 20, its complement in base 7 is 46 and the digit reverse is 64 that is 46 in base 10.


MAPLE

P:=proc(q, h) local a, b, k, n; print(h1); for n from 1 to q do a:=convert(n, base, h); b:=0;
for k from 1 to nops(a) do a[k]:=h1a[k]; b:=h*b+a[k]; od; print(b); od; end: P(10^2, 7);


CROSSREFS

Cf. A036044, A267193, A284806.
Sequence in context: A307337 A031055 A249347 * A225660 A031056 A226293
Adjacent sequences: A284802 A284803 A284804 * A284806 A284807 A284808


KEYWORD

nonn,base,easy


AUTHOR

Paolo P. Lava, Apr 03 2017


STATUS

approved



