OFFSET
1,3
EXAMPLE
a(7)=24 as 5 is largest previous prime to 7, distance is 2, & 11 is smallest next prime to 7, distance 4. Concatenate 2 & 4 gives 24.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Gerald Hillier, Jan 21 2010
STATUS
approved