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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182556 a(0)=1, a(n+1) = (a(n)*6) XOR a(n). 1
1, 7, 45, 291, 2033, 10327, 55901, 377971, 2580161, 13329991, 68092909, 475337827, 3047910961, 21335374615, 108342024605, 611555770419, 4227169747201, 22855656310535, 114836769975597, 592467546841635, 4147130288467697, 24449879086004055, 171122765320764253 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

FORMULA

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

MATHEMATICA

NestList[BitXor[6#, #]&, 1, 30] (* Harvey P. Dale, Nov 23 2012 *)

PROG

(Python)

a=1

for n in range(55):

. print a,

. a ^= a*6

CROSSREFS

Cf. A001317: a(n+1) = (a(n)*2) XOR a(n).

Cf. A038183: a(n+1) = (a(n)*4) XOR a(n).

Cf. A100311: a(n+1) = (a(n)*8) XOR a(n).

Sequence in context: A287811 A115194 A062274 * A219020 A280597 A301319

Adjacent sequences:  A182553 A182554 A182555 * A182557 A182558 A182559

KEYWORD

nonn,base,easy

AUTHOR

Alex Ratushnyak, May 05 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 December 2 07:40 EST 2020. Contains 338868 sequences. (Running on oeis4.)