OFFSET
1,2
EXAMPLE
For 2n-1 = 9, we have primes 19,29,59,79 and 89. 109 is not included as 10 > 9.
MAPLE
cat2 := proc(n, m) n*10^(max(1, ilog10(m)+1))+m ; end: A111676 := proc(nrow) local town1, k, a ; town1 := 2*nrow-1 ; a := [] ; for k from 1 to town1-1 do if isprime(cat2(k, town1)) then a := [op(a), cat2(k, town1)] ; fi ; od; if a = [] then RETURN([0]) ; else RETURN(a) ; fi ; end: seq(op(A111676(nrow)), nrow=1..16) ; # R. J. Mathar, Aug 20 2007
CROSSREFS
KEYWORD
base,nonn,tabf
AUTHOR
Amarnath Murthy, Aug 16 2005
EXTENSIONS
More terms from R. J. Mathar, Aug 20 2007
STATUS
approved
