Vitamin B1 (Thiamine). Vitamin B3 (Niacin). Vitamin B2 (Riboflavin). Vitamin B7 (Biotin). Diets high in niacin have been associated with healthy cognitive function in the aging mind. This may in part be a result of niacin's direct role in the regulation of healthy dendritic growth.