Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161886
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161886 Number of nonzero elements in the n X n Redheffer matrix. +0
4
1, 4, 7, 11, 14, 19, 22, 27, 31, 36, 39, 46, 49, 54, 59, 65, 68, 75, 78, 85, 90, 95, 98, 107, 111, 116, 121, 128, 131, 140, 143, 150, 155, 160, 165, 175, 178, 183, 188, 197, 200, 209, 212, 219, 226, 231, 234, 245, 249, 256, 261, 268, 271, 280, 285, 294, 299, 304 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A006590(n)+A000005(n)-1 [From Barbarel Tres Mil (barbarel3000(AT)yahoo.es), Sep 28 2009]

a(n)=A006218(n)+n-1 [From Barbarel Tres Mil (barbarel3000(AT)yahoo.es), Sep 25 2009]

a(1) = 1, a(n) = a(n-1) + A000005(n) + 1 for n > 1. a(1) = 1, a(n) = A006218(n+1) - A000005(n+1) + n - 1 = A006218(n+1) + A049820(n+1) - 2 = A006590(n+1) - 2 for n > 1. [From Jaroslav Krizek (jaroslav.krizek(AT)atlas.cz), Nov 08 2009]

EXAMPLE

4x4 Redheffer matrix:

1,1,1,1

1,1,0,0

1,0,1,0

1,1,0,1

contains 11 nonzero elements.

MATHEMATICA

Contribution from Barbarel Tres Mil (barbarel3000(AT)yahoo.es), Sep 25 2009: (Start)

A161886[n_] := Plus @@ Table[DivisorSigma[0, i], {i, 1, n}] + n - 1

A161886[n_] := Total[Table[ Boole[Divisible[i, j] || (i == 1)], {i, 1, n}, {j, 1, n}], Infinity] (End)

Contribution from Barbarel Tres Mil (barbarel3000(AT)yahoo.es), Sep 28 2009: (Start)

A161889[n_] := Plus @@ Plus @@ Table[Boole[Divisible[i, j] || (i == 1)], {i, 1, n}, {j, 1, n}]

A161889[n_] := Sum[Ceiling[n/i], {i, 1, n}] + DivisorSigma[0, n] - 1 (End)

CROSSREFS

Cf. A143104.

Cf. A006590,A000005 [From Barbarel Tres Mil (barbarel3000(AT)yahoo.es), Sep 28 2009]

Sequence in context: A083051 A047345 A087070 this_sequence A003670 A084390 A101741

Adjacent sequences: A161883 A161884 A161885 this_sequence A161887 A161888 A161889

KEYWORD

nonn

AUTHOR

Mats Granvik (mats.granvik(AT)abo.fi), Jun 21 2009

EXTENSIONS

Edited by N. J. A. Sloane, Jun 26 2009

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research