OFFSET
1,1
EXAMPLE
a(8) = 1229395 as prime(8) = 19 =>
1229395 = 19*64705 ;
1229396 = 23*53452 ;
1229397 = 29*42393 ;
1229398 = 31*39658 ;
1229399 = 37*33227.
MAPLE
with(numtheory):for p from 1 to 50 do: p1:=ithprime(p):p2:=ithprime(p+1):p3:=ithprime(p+2):p4:=ithprime(p+3):p5:=ithprime(p+4):it:=0:for n from 1 to 5000000 while(it=0) do:if irem(n, p1)=0 and irem(n+1, p2)=0 and irem(n+2, p3)=0 and irem(n+3, p4)=0 and irem(n+4, p5)=0 then it:=1:printf(`%d, `, n):else fi:od:od:
PROG
(Sage) def A180100(n): return crt([-4..0][::-1], [nth_prime(i) for i in [n..n+4]]) # D. S. McNeil, Jan 16 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jan 16 2011
STATUS
approved