The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A284803 Write in base k, complement, reverse. Case k = 6. 1
 5, 4, 3, 2, 1, 0, 34, 28, 22, 16, 10, 4, 33, 27, 21, 15, 9, 3, 32, 26, 20, 14, 8, 2, 31, 25, 19, 13, 7, 1, 30, 24, 18, 12, 6, 0, 214, 178, 142, 106, 70, 34, 208, 172, 136, 100, 64, 28, 202, 166, 130, 94, 58, 22, 196, 160, 124, 88, 52, 16, 190, 154, 118, 82, 46 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS Table of n, a(n) for n=0..64. EXAMPLE a(13) = 27 because 13 in base 6 is 21, its complement in base 6 is 34 and the digit reverse is 43 that is 27 in base 10. MAPLE P:=proc(q, h) local a, b, k, n; print(h-1); for n from 1 to q do a:=convert(n, base, h); b:=0; for k from 1 to nops(a) do a[k]:=h-1-a[k]; b:=h*b+a[k]; od; print(b); od; end: P(10^2, 6); MATHEMATICA Table[FromDigits[Reverse[5-IntegerDigits[n, 6]], 6], {n, 0, 70}] (* Harvey P. Dale, Jan 05 2020 *) CROSSREFS Cf. A036044, A267193, A284804. Sequence in context: A307336 A031016 A261302 * A071691 A319332 A031017 Adjacent sequences: A284800 A284801 A284802 * A284804 A284805 A284806 KEYWORD nonn,base,easy AUTHOR Paolo P. Lava, Apr 03 2017 EXTENSIONS Example corrected by Harvey P. Dale, Jan 05 2020 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 28 01:44 EST 2024. Contains 370379 sequences. (Running on oeis4.)