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.

Showing 1-1 of 1 results.

A159919 A square array of numbers, read by antidiagonals, called Sundaram's sieve.

Original entry on oeis.org

4, 7, 7, 10, 12, 10, 13, 17, 17, 13, 16, 22, 24, 22, 16, 19, 27, 31, 31, 27, 19, 22, 32, 38, 40, 38, 32, 22, 25, 37, 45, 49, 49, 45, 37, 25, 28, 42, 52, 58, 60, 58, 52, 42, 28, 31, 47, 59, 67, 71, 71, 67, 59, 47, 31, 34, 52, 66, 76, 82, 84, 82, 76, 66, 52, 34
Offset: 1

Views

Author

Russell Walsmith, Apr 25 2009

Keywords

Comments

The sieve of Sundaram contains every number n > 3 for which the number 2*n + 1 is composite. For any n absent from this array, 2*n + 1 is a prime.
T[j, k] is the number of edges of the Cartesian product of the paths with j and k edges. - Christian Barrientos, May 14 2025

Examples

			For the term in row 3 and column 3, we have T[3, 3] = 2*3*3 + 3 + 3 = 24. Thus, 2*T[3,3] + 1 = 49 is composite.
From _Petros Hadjicostas_, Jun 19 2019: (Start)
The square array begins as follows:
   4,  7, 10, 13, 16, 19, ...
   7, 12, 17, 22, 27, ...
  10, 17, 24, 31, ...
  13, 22, 31, ...
  16, 27, ...
  19, ...
  ...
(End)
		

References

  • Ross Honsberger, Ingenuity in Mathematics, New Mathematical Library #23, Mathematical Association of America, 1970 (ISBN 0394709233); p. 75.
  • C. Stanley Ogilvy and John T. Anderson, Excursions in Number Theory, Oxford University Press, Inc., New York, 1966.

Crossrefs

Programs

  • Mathematica
    A159919list[dmax_]:=Table[2k(j-k+1)+j+1,{j,dmax},{k,j}];A159919list[10] (* Generates 10 antidiagonals *) (* Paolo Xausa, Jul 26 2023 *)

Formula

For the term in row j and column k, we have T[j, k] = 2*j*k + j + k.

Extensions

More terms from Philippe Deléham, May 11 2009
Showing 1-1 of 1 results.