Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126257
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126257 Number of distinct new terms in row n of Pascal's triangle. +0
6
1, 0, 1, 1, 2, 2, 2, 3, 4, 4, 4, 5, 6, 6, 7, 5, 7, 8, 9, 9, 9, 8, 11, 11, 12, 12, 13, 13, 13, 14, 15, 15, 16, 16, 17, 16, 17, 18, 19, 19, 20, 20, 21, 21, 22, 21, 23, 23, 24, 24, 25, 25, 26, 26, 27, 26, 26, 28, 29, 29, 30, 30, 31, 31, 32, 32, 32, 33, 34, 34, 34, 35, 36, 36, 37, 37, 38 (list; graph; listen)
OFFSET

0,5

COMMENT

Partial sums are in A126256.

LINKS

N. Hobson, Table of n, a(n) for n = 0..1000

N. Hobson, Home page (listed in lieu of email address)

Nick Hobson, Python program for this sequence

EXAMPLE

Row 6 of Pascal's triangle is: 1, 6, 15, 20, 15, 6, 1. Of these terms, only 15 and 20 do not appear in rows 0-5. Hence a(6)=2.

PROGRAM

(PARI) lim=77; z=listcreate(1+lim^2\4); print1(1, ", "); r=1; for(a=1, lim, for(b=1, a\2, s=Str(binomial(a, b)); f=setsearch(z, s, 1); if(f, listinsert(z, s, f))); print1(1+#z-r, ", "); r=1+#z)

CROSSREFS

Cf. A007318, A062854, A126254-A126256.

Sequence in context: A029124 A113512 A004524 this_sequence A025773 A029077 A112176

Adjacent sequences: A126254 A126255 A126256 this_sequence A126258 A126259 A126260

KEYWORD

easy,nonn

AUTHOR

Nick Hobson Dec 24 2006

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research