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!)
A182252 a(0)=4, a(n) = (a(n-1) OR n) * n. 0
4, 5, 14, 45, 180, 905, 5466, 38297, 306376, 2757393, 27574030, 303314341, 3639772188, 47317038457, 662438538482, 9936578077425, 158985249238800, 2702749237059617, 48649486267073430, 924340239074395189, 18486804781487903780 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(0)=4, a(n)=(a(n-1) OR n) * n, where OR is the bitwise logical inclusive-OR operator
PROG
(Python)
a=4
for i in range(1, 51):
. print a,
. a |= i
. a *= i
CROSSREFS
Sequence in context: A041375 A042279 A352683 * A041857 A041034 A281911
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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)