## You are here

HomePythagorean prime

## Primary tabs

# Pythagorean prime

A Pythagorean prime $p$ is a prime number of the form $4n+1$. The first few are 5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97, etc., listed in A002144 of Sloane’s OEIS. Because of its form, a Pythagorean prime is the sum of two squares, e.g., 29 = 25 + 4. In fact, with the exception of 2, these are the only primes that can be represented as the sum of two squares (thus, in Waring’s problem, all other primes require three or four squares).

Though Pythagorean primes are primes on the line of real integers, they are not Gaussian primes in the complex plane. Expressing a Pythagorean prime as $a^{2}+b^{2}$ (it doesn’t matter whether $a<b$ or viceversa) leads to the complex factorization by simple plugging in of the values thus: $p=(a+bi)(a-bi)$, where $i$ is the imaginary unit.

## Mathematics Subject Classification

11A41*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff

## Recent Activity

new question: Prove a formula is part of the Gentzen System by LadyAnne

Mar 30

new question: A problem about Euler's totient function by mbhatia

new problem: Problem: Show that phi(a^n-1), (where phi is the Euler totient function), is divisible by n for any natural number n and any natural number a >1. by mbhatia

new problem: MSC browser just displays "No articles found. Up to ." by jaimeglz

Mar 26

new correction: Misspelled name by DavidSteinsaltz

Mar 21

new correction: underline-typo by Filipe

Mar 19

new correction: cocycle pro cocyle by pahio

Mar 7

new image: plot W(t) = P(waiting time <= t) (2nd attempt) by robert_dodier

new image: expected waiting time by robert_dodier

new image: plot W(t) = P(waiting time <= t) by robert_dodier