In recreational mathematics, an **almost integer** (or **near-integer**) is any number that is not an integer but is very close to one. Almost integers are considered interesting when they arise in some context in which they are unexpected.

## []

(rounded to 20 significant figures after the dozenal point)

They are the numbers , where *n* are one of the largest three Heegner numbers (37, 57 and 117).

The forms of them are

Alternatively,

(the numbers with scientific notation are rounded to 10 significant figures)

where the reason for the squares is due to certain Eisenstein series. For Heegner numbers , one does not obtain an almost integer; even is not noteworthy (because of *d* = 17, the form is , but the absolute deviation of a random real number (picked uniformly from , say) is a uniformly distributed variable on , so it has absolute average deviation and median absolute deviation of 0.3, and a deviation of 0.28 is not exceptional.). The integer *j*-invariants are highly factorisable, which follows from the
form, and factor as,

These transcendental numbers, in addition to being closely approximated by integers, (which are simply algebraic numbers of degree 1), can also be closely approximated by algebraic numbers of degree 3,

The roots of the cubics can be exactly given by quotients of the Dedekind eta function *η*(*τ*), a modular function involving a 20th root, and which explains the 20 in the approximation. In addition, they can also be closely approximated by algebraic numbers of degree 4,

If denotes the expression in the parenthesis (e.g. ), it satisfies respectively the quartic equations

Note the reappearance of the integers as well as the fact that

which, with the appropriate fractional power, are precisely the j-invariants.

Also the numbers

(rounded to 20 significant figures after the dozenal point)

## The first 100 digits after the dozenal point of Ramanujan's constant ()[]

15059 39952036851E.EEEEEEEEEEE5 391X2899X944 51915EE71E1X 56796X89E046 3508317450E9 6E059X723E15 421185X36493 005802325230 X412E40X6EE4 0E05000X46X6 5E354420E217 60038277590E ...

## Another mathematical coincidence[]

= 0.486701211EE7 8699684E9931 8EX818218908 4X0E2E705496 E9X1732186E4 79924967865X ...

= 0.486701211EE7 8699684E9931 8EX818218908 4X1X173E6129 719E03201391 381984309929 ...

The first 32 digits after the dozenal point of these two values are the same.