login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143536 Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise. 4
0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Row sums = A061397: (0, 2, 3, 0, 5, 0, 7,...).
LINKS
FORMULA
Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise. Mobius transform (A054525) of triangle A143535.
EXAMPLE
First few rows of the triangle =
0;
1, 1;
1, 1, 1;
0, 0, 0, 0;
1, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0;
1, 1, 1, 1, 1, 1, 1;
...
PROG
(Haskell)
a143536 n k = a143536_tabl !! (n-1) !! (k-1)
a143536_row n = a143536_tabl !! (n-1)
a143536_tabl = zipWith take [1..] $ map repeat a010051_list
-- Reinhard Zumkeller, Mar 21 2014
CROSSREFS
Cf. A010051.
Sequence in context: A276398 A204549 A112713 * A204437 A080110 A286419
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Aug 23 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 16:04 EDT 2024. Contains 372221 sequences. (Running on oeis4.)