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.
%I A182556 #12 Dec 26 2024 19:00:03 %S A182556 1,7,45,291,2033,10327,55901,377971,2580161,13329991,68092909, %T A182556 475337827,3047910961,21335374615,108342024605,611555770419, %U A182556 4227169747201,22855656310535,114836769975597,592467546841635,4147130288467697,24449879086004055,171122765320764253 %N A182556 a(0)=1, a(n+1) = (a(n)*6) XOR a(n). %F A182556 a(0)=1, a(n+1) = (a(n)*6) XOR a(n), where XOR is the bitwise exclusive-or operator. %t A182556 NestList[BitXor[6#,#]&,1,30] (* _Harvey P. Dale_, Nov 23 2012 *) %o A182556 (Python) %o A182556 a=1 %o A182556 for n in range(55): %o A182556 print(a, end=', ') %o A182556 a ^= a*6 %Y A182556 Cf. A001317: a(n+1) = (a(n)*2) XOR a(n). %Y A182556 Cf. A038183: a(n+1) = (a(n)*4) XOR a(n). %Y A182556 Cf. A100311: a(n+1) = (a(n)*8) XOR a(n). %K A182556 nonn,base,easy %O A182556 0,2 %A A182556 _Alex Ratushnyak_, May 05 2012