Nature always gives us the clue what is good for us and when.Foods that are red in color are good for increasing hemoglobin like beetroot,pomegranate,red banana etc. Similarly if one can carefully see the walnut it resembles like brain and it gives strength to the brain. All the foods like Amla(Indian gooseberry),Pistachio,Litchi,Mango ,Almonds,Walnuts etc.. which give strength to our brain are good for increasing concentration.
Apart from this certain other factors like constipation,blood sugar levels, physical activity,hemoglobin level plays important role in concentration.