cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A030105 Base 6 reversal of n (written in base 10).

This page as a plain text file.
%I A030105 #22 Aug 06 2024 09:55:47
%S A030105 0,1,2,3,4,5,1,7,13,19,25,31,2,8,14,20,26,32,3,9,15,21,27,33,4,10,16,
%T A030105 22,28,34,5,11,17,23,29,35,1,37,73,109,145,181,7,43,79,115,151,187,13,
%U A030105 49,85,121,157,193,19,55,91,127,163,199,25,61,97,133,169,205,31,67,103,139,175
%N A030105 Base 6 reversal of n (written in base 10).
%H A030105 Seiichi Manyama, <a href="/A030105/b030105.txt">Table of n, a(n) for n = 0..7775</a>
%t A030105 Table[FromDigits[Reverse[IntegerDigits[n,6]],6],{n,0,100}] (* _Harvey P. Dale_, Nov 18 2021 *)
%o A030105 (PARI) a(n,b=6)=subst(Polrev(base(n,b)),x,b) /* where */
%o A030105 base(n,b)={my(a=[n%b]);while(0<n\=b,a=concat(n%b,a));a}  \\ - M. F. Hasler, Nov 04 2011
%Y A030105 Cf. A030101 - A030108, A004086, A055952, A319723.
%K A030105 nonn,base,look,easy
%O A030105 0,3
%A A030105 _David W. Wilson_