OFFSET
1,1
EXAMPLE
a(1) = 6 - 4 = 2;
a(2) = 11 - 8 = 3;
a(3) = 13 - 9 = 4.
MAPLE
A046953 := proc(n) if n = 1 then 6 ; else for a from procname(n-1)+1 do if not isprime(6*a-1) then return a; end if; end do: end if; end proc:
A046954 := proc(n) if n = 1 then 0 ; else for a from procname(n-1)+1 do if not isprime(6*a+1) then return a; end if; end do: end if; end proc:
seq(A173229(n), n=1..120) ; # R. J. Mathar, May 02 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Feb 13 2010, Feb 14 2010
EXTENSIONS
Corrected from a(63) onwards by R. J. Mathar, May 02 2010
STATUS
approved