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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053201 Pascal's triangle (excluding first, last element of each row) read by rows, row n read mod n. 7
0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 6, 0, 4, 0, 0, 0, 3, 0, 0, 3, 0, 0, 0, 5, 0, 0, 2, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 4, 3, 0, 0, 0, 3, 4, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 7, 0, 7, 2, 7, 0, 7, 0, 7, 0, 0, 0, 5, 0, 3, 10, 0, 0, 10, 3, 0, 5, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

2,5

COMMENTS

Prime numbered rows contain all zeros.

LINKS

T. D. Noe, Rows n=2..100 of triangle, flattened

FORMULA

T(n,k) = A014410(n,k) mod n, k=1..n-1.

EXAMPLE

0; 0,0; 0,2,0; 0,0,0,0; 0,3,2,3,0; ...

row 6 = 6 mod 6, 15 mod 6, 20 mod 6, 15 mod 6, 6 mod 6 = 0, 3, 2, 3, 0

MATHEMATICA

row[n_] := Table[ Mod[ Binomial[n, k], n], {k, 1, n-1}]; Table[row[n], {n, 2, 15}] // Flatten (* Jean-Fran├žois Alcover, Aug 12 2013 *)

PROG

(Haskell)

a053201 n k = a053201_tabl !! (n-2) !! (k-1)

a053201_row n = a053201_tabl !! (n-2)

a053201_tabl = zipWith (map . (flip mod)) [2..] a014410_tabl

-- Reinhard Zumkeller, Aug 17 2013

CROSSREFS

Row sums give A053205. Cf. A053200, A053202, A053203, A007318 (Pascal's triangle)

Cf. A053214 (central terms).

Sequence in context: A280843 A221146 A083935 * A028605 A319532 A317576

Adjacent sequences:  A053198 A053199 A053200 * A053202 A053203 A053204

KEYWORD

nonn,nice,tabl,look

AUTHOR

Asher Auel (asher.auel(AT)reed.edu), Dec 12 1999

EXTENSIONS

a(62) and a(68) corrected by T. D. Noe, Feb 08 2008

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 November 28 05:30 EST 2021. Contains 349401 sequences. (Running on oeis4.)