Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A105055
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A105055 a(n) = bitwise AND operation applied between every term of the n-th row of Pascal's triangle, with the stipulation that all bits left of the last significant bit in each element are turned "on" until all elements of a row contain the same number of bits (See example). Results represented in decimal notation. +0
1
1, 1, 2, 3, 4, 8, 20, 33, 64, 64, 192, 256, 768, 1024, 2304, 4353, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194034, 8388608, 16777216, 33554432, 67108864, 134217728, 268435457, 536870912, 1073741824, 2147483648 (list; graph; listen)
OFFSET

0,3

COMMENT

There are probably an infinite amount of anomalies that do not fit the "best-fit" formula above. Some of the early examples include a(3), a(6), a(10), a(12), a(14) and a(15). However, after this point the sequence dramatically, although not completely, stabilizes. Also interesting is the fact that a(8) = a(9).

LINKS

Eric Weisstein's World of Mathematics, Pascal's Triangle

Eric Weisstein's World of Mathematics, Bitwise AND

FORMULA

The sequence can be approximated with the function a(n)=2^(n-3), but there plenty of anomalies (see "Comments" below).

EXAMPLE

Consider the a=(7) row of Pascal's Triangle:

in decimal notation: 1-7-21-35-35-21-7-1

in binary notation: 000001-000111-010101-100011

Note: only distinct digits are of any importance

Now add 1's to the left of last significant digit and "AND" all terms:

111111 AND 111111 AND 110101 AND 100011 = 100001

which is 33 in decimal, thus a(7)=33.

PROGRAM

Java

CROSSREFS

Sequence in context: A162724 A140974 A102276 this_sequence A108506 A129284 A100997

Adjacent sequences: A105052 A105053 A105054 this_sequence A105056 A105057 A105058

KEYWORD

nonn

AUTHOR

Andrew G. West (WestA(AT)wlu.edu), Apr 04 2005

page 1

Search completed in 0.002 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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research