OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=5 because 1+4=5 is 1st prime == 1 mod 4,
a(2)=41 because 1+(4*2)*{2,5}={17,41} are 1st and 2nd primes == 1 mod 8,
a(3)=61 because 1+(4*3)*{1,3,5}={13,37,61} are 1st, 2nd and 3rd primes == 1 mod 12;
a(1000)=24952001=1+4000*6238;
a(10000)=3345120001=1+40000*83628;
a(10^5)=411686400001=A000040(16018223727)=1+4*10^6*1029216;
a(10^6)=48792928000001=A000040(1600641618847)=1+4*10^6*12198232.
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 27 2011
STATUS
approved