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.

A353825 Inverse permutation to A353824.

This page as a plain text file.
%I A353825 #8 May 10 2022 02:26:38
%S A353825 0,1,2,3,4,5,6,8,7,9,10,11,12,13,14,15,17,16,18,20,19,24,25,26,21,23,
%T A353825 22,27,28,29,30,31,32,33,35,34,36,37,38,39,40,41,42,44,43,45,47,46,51,
%U A353825 52,53,48,50,49,54,56,55,60,61,62,57,59,58,72,73,74,75,76
%N A353825 Inverse permutation to A353824.
%H A353825 Rémy Sigrist, <a href="/A353825/b353825.txt">Table of n, a(n) for n = 0..6561</a>
%H A353825 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A353825 A353824(8) = 7, so a(7) = 8.
%o A353825 (PARI) a(n) = { my (d=digits(n,3), p=Mod(1,3)); for (k=1, #d, if (d[k], p*=d[k]=lift(d[k]/p))); fromdigits(d, 3) }
%Y A353825 Cf. A353824.
%K A353825 nonn,base
%O A353825 0,3
%A A353825 _Rémy Sigrist_, May 08 2022