Fork me on GitHub
Math for the people, by the people.

User login

Euler's lucky number

% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these

% used for TeXing text within eps files
% need this for including graphics (\includegraphics)
% for neatly defining theorems and propositions
% making logically defined graphics

% there are many more packages, add them here as you need them

% define commands here

\PMlinkescapeword{lucky number}

A prime number $p$ is one of {\em Euler's lucky numbers} if $n^2 - n + p$ for each $0 < n < p$ is also a prime. Put another way, a lucky number of Euler's plus the $n$th oblong number produces a list of primes $p$-long. There are only six of them: 2, 3, 5, 11, 17 and 41, these are listed in A014556 of Sloane's OEIS.

41 is perhaps the most famous of these. We can verify that 2 + 41 is 43, a prime, that 47 is also prime, so are 53, 61, 71, 83, 97, and so on to 1601, giving a list of 41 primes. Predictably, 1681 is divisible by 41, being its square. For $n > p$ the formula does not consistently give only composites or only primes.