cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A127640 Triangle read by rows in which row n contains n-1 0's followed by prime(n).

Original entry on oeis.org

2, 0, 3, 0, 0, 5, 0, 0, 0, 7, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Gary W. Adamson, Jan 21 2007

Keywords

Comments

A127641 = this sequence * A051731.

Examples

			First few rows of the triangle are:
2;
0, 3
0, 0, 5;
0, 0, 0, 7;
0, 0, 0, 0, 11;
...
		

Crossrefs

Programs

  • Maple
    A127640 := proc(n,m) if m < n then 0; else ithprime(n) ; fi ; end: for n from 1 to 15 do for m from 1 to n do printf("%d,",A127640(n,m)) ; od ; od ; # R. J. Mathar, May 19 2007
  • Mathematica
    Table[PadLeft[{Prime[n]},n,0],{n,15}]//Flatten (* Harvey P. Dale, Feb 28 2025 *)

Extensions

More terms from R. J. Mathar, May 19 2007