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.

A377625 Nonnegative numbers whose nonadjacent form is antipalindromic.

This page as a plain text file.
%I A377625 #11 Dec 30 2024 16:07:46
%S A377625 0,3,7,15,31,51,63,75,99,127,155,195,231,255,279,315,387,455,511,567,
%T A377625 635,723,771,819,903,975,1023,1071,1143,1227,1275,1323,1427,1539,1651,
%U A377625 1799,1935,2047,2159,2295,2443,2555,2667,2835,2979,3075,3171,3315,3495,3591
%N A377625 Nonnegative numbers whose nonadjacent form is antipalindromic.
%C A377625 Also nonnegative numbers k such that A379015(k) = -k.
%H A377625 Rémy Sigrist, <a href="/A377625/b377625.txt">Table of n, a(n) for n = 1..10000</a>
%H A377625 Joerg Arndt, <a href="http://www.jjj.de/fxt/#fxtbook">Matters Computational (The Fxtbook)</a>, pages 61-62.
%H A377625 Wikipedia, <a href="https://en.wikipedia.org/wiki/Non-adjacent_form">Non-adjacent form</a>
%e A377625 The first terms, alongside their nonadjacent forms, are:
%e A377625   n   a(n)  naf(a(n))
%e A377625   --  ----  ----------
%e A377625    1     0           0
%e A377625    2     3         10T
%e A377625    3     7        100T
%e A377625    4    15       1000T
%e A377625    5    31      10000T
%e A377625    6    51     10T010T
%e A377625    7    63     100000T
%e A377625    8    75     1010T0T
%e A377625    9    99    10T0010T
%e A377625   10   127    1000000T
%e A377625   11   155    10100T0T
%e A377625   12   195   10T00010T
%e A377625   13   231   100T0100T
%e A377625   14   255   10000000T
%e A377625   15   279   10010T00T
%e A377625   16   315   101000T0T
%o A377625 (PARI) is(n) = { my (m = 0, d, r = n); while (r, m *= 2; if (r % 2, r -= d = 2 - (r % 4); m += d;); r \= 2;); m == -n; }
%Y A377625 See A233571 for a similar sequence.
%Y A377625 Cf. A379015, A379040.
%K A377625 nonn,base
%O A377625 1,2
%A A377625 _Rémy Sigrist_, Dec 28 2024