OFFSET
1,2
COMMENTS
Conjecture: a(n)=0 iff n== 3 (mod 5). [Corrected by R. J. Mathar, Aug 20 2007]
EXAMPLE
For 2n-1 = 9, we have primes 19,29,59,79 and 89. Hence a(5) = 5.
MAPLE
cat2 := proc(n, m) n*10^(max(1, ilog10(m)+1))+m ; end: A111677 := 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; RETURN(nops(a)) ; end: seq(A111677(nrow), nrow=1..80) ; # R. J. Mathar, Aug 20 2007
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Aug 16 2005
EXTENSIONS
More terms from R. J. Mathar, Aug 20 2007
STATUS
approved