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.

A225523 Number of distinct products i*j over all pairs (i,j) with |i| + |j| <= n.

Original entry on oeis.org

1, 1, 3, 5, 9, 11, 17, 21, 27, 33, 39, 43, 53, 59, 69, 79, 89, 97, 107, 117, 131, 143, 157, 167, 183, 195, 209, 223, 237, 249, 269, 283, 301, 317, 335, 353, 373, 389, 409, 427, 449, 465, 491, 509, 535, 557, 581, 603, 631, 657, 679
Offset: 0

Views

Author

Robert Price, May 09 2013

Keywords

Comments

This sequence is in reply to an extension request made in A100449.

Crossrefs

Programs

  • Mathematica
    f[n_]:=Length[Complement[Union[Flatten[Table[If[Abs[i]+Abs[j]<=n,{i*j}],{i,-n,n},{j,-n,n}],1]],{Null}]]; Table[f[n],{n,0,100}]