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.

A344682 a(0) = 0, and for any n > 0, a(n) = A022290(A059893(A003754(n+1))).

This page as a plain text file.
%I A344682 #26 Jul 29 2021 13:22:50
%S A344682 0,1,2,3,5,4,6,7,10,9,8,11,15,13,18,12,17,16,14,19,20,28,26,23,31,25,
%T A344682 22,30,21,29,27,24,32,41,36,49,34,47,44,39,52,33,46,43,38,51,42,37,50,
%U A344682 35,48,45,40,53,54,75,70,62,83,68,60,81,57,78,73,65,86,67
%N A344682 a(0) = 0, and for any n > 0, a(n) = A022290(A059893(A003754(n+1))).
%C A344682 This sequence is a self-inverse permutation of the nonnegative integers.
%C A344682 The construction of this sequence is similar to that of A343150; we start with a representation of a number n as a sum of distinct positive Fibonacci numbers, through some binary encoding, and we reverse some of the bits in a bijective way to obtain a(n).
%H A344682 Rémy Sigrist, <a href="/A344682/b344682.txt">Table of n, a(n) for n = 0..10944</a>
%H A344682 Rémy Sigrist, <a href="/A344682/a344682.gp.txt">PARI program for A344682</a>
%H A344682 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%p A344682 # after renaming a(n) to A059893(n) in A059893...
%p A344682 A344682 := proc(n)
%p A344682     if n = 0 then
%p A344682         0;
%p A344682     else
%p A344682         A022290(A059893(A003754(n+1))) ;
%p A344682     end if;
%p A344682 end proc:
%p A344682 seq(A344682(n),n=0..70) ; # _R. J. Mathar_, Jul 29 2021
%o A344682 (PARI) See Links section.
%Y A344682 Cf. A003754, A059893, A022290, A343150.
%K A344682 nonn,look,base
%O A344682 0,3
%A A344682 _Rémy Sigrist_, Jun 08 2021