The anomeric effect and the gauche effect
In a tetrahydropyran ring, an electronegative substituent at C2, next to the ring oxygen, prefers the axial position, contrary to what A values say. This is the anomeric effect: with the substituent axial, a lone pair on the ring oxygen is antiperiplanar to the C2–X bond and is donated into its σ* orbital. The same kind of interaction explains the gauche effect: two neighbouring electronegative groups prefer to be gauche, not anti.
The anomeric effect
Carbon C1 of sugars in the pyranose form is called the anomeric carbon, and the two epimers at it, the α and β anomers. J. T. Edward observed in 1955 that glycosides with the C1 substituent axial (α) were more stable than expected, and Raymond Lemieux gave the phenomenon its name in 1958. In 2-methoxytetrahydropyran, the simplest model, the methoxy group is 80% axial in nonpolar solvents; in methoxycyclohexane, by contrast, it is 75% equatorial.

There are two complementary explanations. With the substituent equatorial, the dipoles of the two C–O bonds are almost parallel and repel each other; with it axial, they partly cancel (Edward’s electrostatic explanation). And with the substituent axial, the ring-oxygen lone pair is donated into the C–X σ* (negative hyperconjugation): the endocyclic C–O bond shortens and the exocyclic C–X bond lengthens, as observed in crystal structures. The effect increases with the electronegativity of X (Cl > OAc > OMe > OH) and decreases in polar solvents, which stabilize the conformer with the larger dipole moment.
In free glucose in water, the β anomer, with all substituents equatorial, is still the major one (64 : 36), but much less so than the hydroxyl A values predict. The anomeric effect also governs the conformation of the glycosidic bond (exo-anomeric effect: the alkyl group of the O-glycoside sits gauche to the ring oxygen), and P. Deslongchamps extended it to the reactivity of acetals, esters and amides: tetrahedral intermediates break the bond that is antiperiplanar to the lone pairs of the other heteroatoms.
The mutarotation of glucose
The two crystalline forms of D-glucose are the two pure anomers: α-D-glucopyranose, with the C1 OH axial, has [α]D = +112°, and the β anomer, with the OH equatorial, +18.7°. On dissolving either of them in water, the rotation changes gradually until it reaches the same value, +52.7°: this is mutarotation, observed by A. P. Dubrunfaut in 1846. The hemiacetal opens to the open-chain form, with the free aldehyde, and closes again from either face of the carbonyl group; the reaction is catalysed by acids and bases, and at equilibrium both anomers remain.
As in the Eliel and Brunet experiment, the equilibrium rotation is the average of those of the two components: +52.7 = 112 xα + 18.7 (1 − xα), which gives xα = 0.36 and xβ = 0.64. The β anomer, with everything equatorial, is the major one, but α is far more populated than the A value of a hydroxyl group would suggest: this is the anomeric effect, weakened in water, which solvates the equatorial hydroxyl well. The proportions are also seen by 1H NMR: H1 of the α anomer, equatorial, gives a doublet near δ 5.2 with J ≈ 3.7 Hz, and that of β, axial, near δ 4.6 with J ≈ 8 Hz, owing to its antiperiplanar coupling with the axial H2. You will see these spectra in the course Organic structure determination.
The gauche effect
1,2-Difluoroethane prefers the gauche conformation, about 2.4 kJ/mol (0.6 kcal/mol) more stable than the anti, even though in the latter the C–F dipoles cancel. In the gauche form each C–F bond is antiperiplanar to a C–H bond, a good donor, which donates density into its σ*; in the anti form each C–F faces the other C–F, a poor donor. S. Wolfe called this preference the gauche effect in 1972. It also occurs in ethylene glycol, in 2-fluoroethanols and, reinforced by electrostatic attraction, in 2-fluoroethylammonium ions, and it is used to fix the conformation of peptides and drugs containing fluorine.

An example
Olean, a spiroketal with a double anomeric effect
