login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182390 a(0)=0, a(n) = (a(n-1) * n) XOR n. 1
0, 1, 0, 3, 8, 45, 264, 1855, 14832, 133497, 1334960, 14684571, 176214856, 2290793125, 32071103752, 481066556279, 7697064900448, 130850103307633, 2355301859537376, 44750735331210163, 895014706624203240, 18795308839108268061, 413496794460381897320 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

For 0<n<12, a(n)=A000240(n-1).

LINKS

Table of n, a(n) for n=0..22.

FORMULA

a(0)=0, a(n) = (a(n-1) * n) XOR n, where XOR is the bitwise exclusive-OR operator.

PROG

(Python)

a=0

for i in range(1, 55):

. print a,

. a *= i

. a ^= i

CROSSREFS

Cf. A182249, A000240.

Sequence in context: A039647 A071533 A000240 * A132103 A334316 A180508

Adjacent sequences:  A182387 A182388 A182389 * A182391 A182392 A182393

KEYWORD

nonn,base

AUTHOR

Alex Ratushnyak, Apr 27 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 30 09:19 EDT 2020. Contains 334717 sequences. (Running on oeis4.)