OFFSET
1,1
COMMENTS
Non-palindromic numbers are included in this sequence :
{3267, 3927, 7293, 7632,...}
EXAMPLE
3267 is in the sequence because period (1/3267) = 66 and also period(1/7623) = 66.
3927 is in the sequence because period (1/3927) = 48 and also period(1/7293) = 48.
MAPLE
with(numtheory): nn:=8000:for n from 3 to nn do: s:=0:l:=length(n):for q from 0 to l-1 do:x:=iquo(n, 10^q):y:=irem(x, 10):s:=s+y*10^(l-1-q): od: indic1:=0:for p from 1 to nn do:if irem(10^p, n) = 1 and gcd(n, 5) = 1 and indic1=0 then pp:=p: indic1:=1:else fi:od: indic2:=0:for p from 1 to nn do:if irem(10^p, s) = 1 and gcd(s, 5) = 1 and indic2=0 then ppp:=p:indic2:=1:else fi:od: if pp=ppp and indic1=1 and indic2=1 then print(n):else fi:od:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Jun 16 2010
STATUS
approved