Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101121
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101121 Bitwise XOR of adjacent terms of A101120; also the nonzero terms of A101122. +0
3
7, 17, 34, 68, 159, 257, 514, 1028, 2063, 4097, 8194, 16388, 32831, 65537, 131074, 262148, 524303, 1048577, 2097154, 4194308, 8388639, 16777217, 33554434, 67108868, 134217743, 268435457, 536870914, 1073741828, 2147483775 (list; graph; listen)
OFFSET

1,1

COMMENT

A101120 gives the records in A101119, which equals the nonzero differences of A006519 and A003484. A101122 is the XOR BINOMIAL transform of A101119, and has zeros everywhere except at positions equal to powers of 2.

FORMULA

a(n) = A101120(n-1) XOR A101120(n) for n>1, with a(1) = A101120(1), where A101120(n) = 2^(n+3) - 2^((n-1)(Mod 4)) - 8*floor((n+3)/4).

EXAMPLE

a(5) = 159 since A101120(4)=112, A101120(5)=239, and 159 = 112 XOR 239.

PROGRAM

(PARI) {a(n)=bitxor(2^(n+2)-2^((n-2)%4)-8*((n+2)\4), 2^(n+3)-2^((n-1)%4)-8*((n+3)\4))}

CROSSREFS

Cf. A003484, A006519, A101119, A101120, A101122.

Adjacent sequences: A101118 A101119 A101120 this_sequence A101122 A101123 A101124

Sequence in context: A128002 A074275 A051411 this_sequence A090652 A062675 A106095

KEYWORD

nonn

AUTHOR

Simon Plouffe (plouffe(AT)math.uqam.ca) and Paul D. Hanna (pauldhanna(AT)juno.com), Dec 02 2004

page 1

Search completed in 0.004 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 02:37 EDT 2008. Contains 145008 sequences.


AT&T Labs Research