%I #3 Mar 30 2012 18:52:34
%S 1,3,5,7,20,24,45,51,80,144,156,240,297,315,380,504,644,672,832,935,
%T 969,1159,1280,1496,1825,1976,2028,2187,2241,2408,3196,3395,3737,3811,
%U 4469,4551,4945,5355,5612,6048,6500,6600,7452,7560,7865,7975,9120,10335,10692
%N The sum of all odd numbers from 2n-1 to prime(n).
%F a(n)= A005408(n-1)+A005408(n)+...+A000040(n).
%F a(n)= (A006254(n-1))^2-A000079(n-1), n>1. - R. J. Mathar, Aug 11 2009
%e a(5)=9+11=20. a(6)=11+13=24. a(7)=15+17+19=45.
%Y Cf. A000040, A005408.
%K nonn,easy
%O 1,2
%A _Juri-Stepan Gerasimov_, Aug 02 2009
%E Corrected and extended by _R. J. Mathar_, Aug 11 2009