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.

A175479 a(1)=1. For n >= 1, if a(n) = 0, then append to the sequence the digits of binary n+1 (most significant digits first and least significant digits last). If a(n) = 1, then append to the sequence the digits of binary n+1 in reverse order (least significant digits first and most significant digits last).

This page as a plain text file.
%I A175479 #10 Nov 08 2018 21:11:21
%S A175479 1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0,0,0,1,0,0,1,0,1,0,1,1,0,1,1,0,
%T A175479 0,1,1,1,1,0,1,0,1,1,1,1,1,1,1,0,0,0,0,1,1,0,0,0,1,0,1,0,0,1,1,1,0,0,
%U A175479 1,1,0,1,0,0,1,0,1,0,1,1,0,1,1,0
%N A175479 a(1)=1. For n >= 1, if a(n) = 0, then append to the sequence the digits of binary n+1 (most significant digits first and least significant digits last). If a(n) = 1, then append to the sequence the digits of binary n+1 in reverse order (least significant digits first and most significant digits last).
%H A175479 Rémy Sigrist, <a href="/A175479/b175479.txt">Table of n, a(n) for n = 1..10000</a>
%o A175479 (PARI) a=[1]; for (n=1, 84, print1 (a[n] ", "); if (#a<84, a=concat(a, if (a[n], Vecrev(binary(n+1)), binary(n+1))))) \\ _Rémy Sigrist_, Nov 08 2018
%Y A175479 Cf. A175480.
%K A175479 base,nonn
%O A175479 1,1
%A A175479 _Leroy Quet_, May 25 2010
%E A175479 Definition fixed by _Leroy Quet_, May 28 2010