login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A048642 Partial products of A003188 (Gray code). 3

%I #14 Oct 05 2016 10:04:09

%S 1,1,3,6,36,252,1260,5040,60480,786240,11793600,165110400,1651104000,

%T 18162144000,163459296000,1307674368000,31384184832000,

%U 784604620800000,21184324761600000,550792443801600000,16523773314048000000

%N Partial products of A003188 (Gray code).

%H Harvey P. Dale, <a href="/A048642/b048642.txt">Table of n, a(n) for n = 0..444</a>

%F a(0) = 1, a(n) = product(XOR(j, floor(j/2)), j=1..n).

%F a((2^n)-1) = A000142((2^n)-1) for all n.

%t Join[{1},FoldList[Times,Table[BitXor[n,Floor[n/2]],{n,20}]]] (* _Harvey P. Dale_, Oct 05 2016 *)

%o (PARI) a(n) = prod(i=1, n, bitxor(i, i>>1)); \\ _Michel Marcus_, Apr 22 2013, Oct 02 2015

%Y Cf. A000142, A003188.

%K easy,nonn

%O 0,3

%A _Antti Karttunen_, Jul 14 1999

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 14:42 EDT 2024. Contains 375269 sequences. (Running on oeis4.)