HP Forums

Full Version: (35S) OEIS A157502, Evens Without Squares Formula
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sequence of even numbers without the squares, OEIS A157502

2, 6, 8, 10, 12, 14, 18, 20, 22, 24, 26, 28, 30, 32, 34, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 66, 68…..

For index N solve the equation

G = IP( SQRT( 2 * N ) + 0.5 ) ► R + 2 * N – RMDR( R , 2 )

for G.

For input

N = 1E10

The calculator returns

G = 20,000,141,420

Anyone recognize 141,42……?
(12-07-2014 07:54 AM)Gerald H Wrote: [ -> ]Anyone recognize 141,42……?

Reminiscent of \(\sqrt{2}\)
Reference URL's