login
a(0)=2, a(n) = (a(n-1) * n) OR n.
0

%I #14 May 20 2021 10:14:59

%S 2,3,6,19,76,381,2286,16007,128056,1152505,11525050,126775551,

%T 1521306620,19776986061,276877804862,4153167072943,66450673167088,

%U 1129661443840497,20333905989128946,386344213793449975,7726884275868999516

%N a(0)=2, a(n) = (a(n-1) * n) OR n.

%F a(0)=2, a(n)=(a(n-1)*n) OR n, where OR is the bitwise logical inclusive-OR operator.

%o (Python)

%o a=2

%o for i in range(1,51):

%o print(a, end=',')

%o a *= i

%o a |= i

%K base,nonn

%O 0,1

%A _Alex Ratushnyak_, Apr 20 2012