OFFSET
1,1
COMMENTS
Primes in the sequence A115259.
EXAMPLE
a(37) = 3 because 37th prime = 157, (7+1) - 5 = 3, 3 is prime.
MAPLE
select(isprime, [seq(abs(sum(convert(ithprime(a), base, 10)[2*i], i=1..nops(convert (ithprime(a), base, 10))/2)-sum(convert(ithprime(a), base, 10)[2*i+1], i=0..(nops (convert(ithprime(a), base, 10))-1)/2)), a=1..N)]);
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Giorgio Balzarotti, Paolo P. Lava, Jan 20 2006
STATUS
approved