Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
Similar to A169748, but now B = 2,3,5,7,... (the primes).
Table of n, a(n) for n=1..67.
Sequence in context: A105332 A186706 A169749 * A249558 A072007 A078783
Adjacent sequences: A169747 A169748 A169749 * A169751 A169752 A169753
Rodolfo Kurchan, Apr 08 2010
Corrected and extended by D. S. McNeil, May 09 2010