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.

A120891 Number of primitive Pythagorean triangles with odd leg 2n-1.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 1, 4, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 4, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 4, 1, 1, 2, 2
Offset: 1

Views

Author

Lekraj Beedassy, Jul 12 2006

Keywords

Comments

Bisection of A024361.
Bisection of even-numbered terms of A024361 results in alternating zero terms; removing zeros gives A068068. - Ray Chandler, Feb 04 2020

Crossrefs

Formula

a(n)=2^(k-1), where k=A092523(n) for n > 1.

Extensions

a(1)=0 inserted by Ray Chandler, Feb 04 2020