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.

A377477 Consider the nonadjacent form for n, then reverse the digits, leaving any trailing zeros alone, and take the absolute value.

This page as a plain text file.
%I A377477 #14 Dec 30 2024 16:07:55
%S A377477 0,1,2,3,4,5,6,7,8,9,10,19,12,13,14,15,16,17,18,11,20,21,38,35,24,29,
%T A377477 26,39,28,25,30,31,32,33,34,23,36,41,22,27,40,37,42,83,76,45,70,67,48,
%U A377477 61,58,51,52,77,78,71,56,57,50,79,60,49,62,63,64,65,66,47
%N A377477 Consider the nonadjacent form for n, then reverse the digits, leaving any trailing zeros alone, and take the absolute value.
%C A377477 A self-inverse permutation of the nonnegative integers.
%H A377477 Rémy Sigrist, <a href="/A377477/b377477.txt">Table of n, a(n) for n = 0..10921</a>
%H A377477 Joerg Arndt, <a href="http://www.jjj.de/fxt/#fxtbook">Matters Computational (The Fxtbook)</a>, pages 61-62.
%H A377477 Rémy Sigrist, <a href="/A377477/a377477.gp.txt">PARI program</a>
%H A377477 Wikipedia, <a href="https://en.wikipedia.org/wiki/Non-adjacent_form">Non-adjacent form</a>
%H A377477 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A377477 A184617(a(n)) = A057889(A184617(n)).
%e A377477 For n = 22: the nonadjacent form for 22 is "10T0T0" (where T denotes -1), reversing the digits and leaving any trailing zeros alone yields "T0T010", so a(22) = |- 2^5 - 2^3 + 2^1| =  38.
%o A377477 (PARI) \\ See Links section.
%Y A377477 See A160652 and A345201 for similar sequences.
%Y A377477 Cf. A057889, A184617, A379015.
%K A377477 nonn,base
%O A377477 0,3
%A A377477 _Rémy Sigrist_, Dec 28 2024