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!)
A182250 a(0)=2, a(n) = (a(n-1) * n) OR n. 0
2, 3, 6, 19, 76, 381, 2286, 16007, 128056, 1152505, 11525050, 126775551, 1521306620, 19776986061, 276877804862, 4153167072943, 66450673167088, 1129661443840497, 20333905989128946, 386344213793449975, 7726884275868999516 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(0)=2, a(n)=(a(n-1)*n) OR n, where OR is the bitwise logical inclusive-OR operator.
PROG
(Python)
a=2
for i in range(1, 51):
print(a, end=', ')
a *= i
a |= i
CROSSREFS
Sequence in context: A233239 A018290 A364645 * A121959 A075633 A141048
KEYWORD
base,nonn
AUTHOR
Alex Ratushnyak, Apr 20 2012
STATUS
approved

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 April 24 10:00 EDT 2024. Contains 371935 sequences. (Running on oeis4.)