The invention relates to a nutritional composition comprising oligofructose (fructose oligosaccharide; OF; FOS) having an effect on the promoting, enhancement or improvement of the short term memory of the subjects, in mammals, preferably young mammals. The composition can be an infant formula.