login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182437 a(0)=0, a(n) = (a(n-1) XOR n) * (n+1). 0
0, 2, 0, 12, 40, 270, 1848, 14840, 133488, 1334970, 14684560, 176214852, 2290793128, 32071103750, 481066556280, 7697064900464, 130850103307616, 2355301859537394, 44750735331210144, 895014706624203260, 18795308839108268040, 413496794460381897342 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

for n<12, a(n)=A180189(n).

LINKS

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

FORMULA

a(0)=0, for n>0, a(n) = (a(n-1) XOR n) * (n+1).

MATHEMATICA

nxt[{n_, a_}]:={n+1, BitXor[a, n+1](n+2)}; NestList[nxt, {0, 0}, 30][[All, 2]] (* Harvey P. Dale, Nov 01 2017 *)

PROG

(Python)

a=0

for i in range(1, 55):

  print a,

  a ^= i

  a *= i+1

CROSSREFS

Cf. A182420, A180189.

Sequence in context: A074001 A228621 A180189 * A013316 A013310 A269889

Adjacent sequences:  A182434 A182435 A182436 * A182438 A182439 A182440

KEYWORD

nonn,base

AUTHOR

Alex Ratushnyak, Apr 28 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 June 19 05:30 EDT 2019. Contains 324218 sequences. (Running on oeis4.)