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.

A036842 Smallest leg in right triangle with relatively prime sides and hypotenuse 5^n.

Original entry on oeis.org

3, 7, 44, 336, 237, 10296, 16124, 164833, 922077, 1476984, 34182196, 32125393, 597551756, 2465133864, 6890111163, 98248054847, 42744511676, 2114245277767, 6358056037323, 28515500892816, 278471369994004
Offset: 1

Views

Author

Zak Seidov, Jan 13 2002

Keywords

Comments

If (3+4i)^n = r+si, then a(n) is the minimum of |r| and |s|.

Crossrefs

Cf. A067312.

Programs

  • Mathematica
    a[n_] := Min[Abs[Re[(3+4I)^n]], Abs[Im[(3+4I)^n]]]

Extensions

Edited by Dean Hickerson, Jan 14 2002