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.

A182437 a(0)=0, a(n) = (a(n-1) XOR n) * (n+1).

This page as a plain text file.
%I A182437 #13 Jan 21 2025 14:27:54
%S A182437 0,2,0,12,40,270,1848,14840,133488,1334970,14684560,176214852,
%T A182437 2290793128,32071103750,481066556280,7697064900464,130850103307616,
%U A182437 2355301859537394,44750735331210144,895014706624203260,18795308839108268040,413496794460381897342
%N A182437 a(0)=0, a(n) = (a(n-1) XOR n) * (n+1).
%C A182437 for n<12, a(n)=A180189(n).
%F A182437 a(0)=0, for n>0, a(n) = (a(n-1) XOR n) * (n+1).
%t A182437 nxt[{n_,a_}]:={n+1,BitXor[a,n+1](n+2)}; NestList[nxt,{0,0},30][[All,2]] (* _Harvey P. Dale_, Nov 01 2017 *)
%o A182437 (Python)
%o A182437 a=0
%o A182437 for i in range(1,55):
%o A182437   print(a, end=', ')
%o A182437   a ^= i
%o A182437   a *= i+1
%Y A182437 Cf. A182420, A180189.
%K A182437 nonn,base
%O A182437 0,2
%A A182437 _Alex Ratushnyak_, Apr 28 2012