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.

A056960 Base 11 reversal of n (written in base 10).

This page as a plain text file.
%I A056960 #13 Aug 08 2024 07:25:15
%S A056960 0,1,2,3,4,5,6,7,8,9,10,1,12,23,34,45,56,67,78,89,100,111,2,13,24,35,
%T A056960 46,57,68,79,90,101,112,3,14,25,36,47,58,69,80,91,102,113,4,15,26,37,
%U A056960 48,59,70,81,92,103,114,5,16,27,38,49,60,71,82,93,104,115,6,17,28,39
%N A056960 Base 11 reversal of n (written in base 10).
%H A056960 Robert Israel, <a href="/A056960/b056960.txt">Table of n, a(n) for n = 0..10000</a>
%p A056960 f:= proc(n) local L,i;
%p A056960   L:= convert(n,base,11);
%p A056960   add(L[-i]*11^(i-1),i=1..nops(L))
%p A056960 end proc:
%p A056960 map(f, [$0..100]); # _Robert Israel_, Dec 20 2018
%t A056960 IntegerReverse[Range[0, 100], 11] (* _Paolo Xausa_, Aug 08 2024 *)
%o A056960 (PARI) a(n) = fromdigits(Vecrev(digits(n, 11)), 11); \\ _Michel Marcus_, Dec 20 2018
%Y A056960 Cf. A004086, A030101-A030108, A056960-A056963.
%K A056960 base,nonn,look
%O A056960 0,3
%A A056960 _Henry Bottomley_, Jul 18 2000