OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
EXAMPLE
If n=77=odd nonprime, 7=7 and 7+2=9=odd nonprime, thus 77 is in the sequence. If n=105=odd nonprime, 0<1<5 and 0+1=1=odd nonprime, thus 105 is in the sequence.
MAPLE
filter:= proc(n) local L, m, q;
if isprime(n) then return false fi;
L:= convert(n, base, 10);
m:= min(L);
q:= m + numboccur(L, m);
q::odd and not isprime(q)
end proc:
select(filter, [seq(2*i+1, i=0..1000)]); # Robert Israel, Apr 15 2015
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Jan 11 2009
EXTENSIONS
Edited by Alois P. Heinz, Apr 15 2015
STATUS
approved