OFFSET
1,2
COMMENTS
A055483(a(n)) = 1.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[130], GCD[#, FromDigits[Reverse[IntegerDigits[#]]]] == 1 &] (* Jayanta Basu, Jul 24 2013 *)
Select[Range[150], Intersection[Divisors[#], Divisors[IntegerReverse[#]]] == {1}&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 07 2020 *)
PROG
(Haskell)
a226778 n = a226778_list !! (n-1)
a226778_list = filter ((== 1) . a055483) [1..]
(PARI) isok(n) = gcd(n, subst(Pol(Vecrev(digits(n))), x, 10)) == 1; \\ Michel Marcus, Jul 02 2015
(PARI) is(n)=gcd(fromdigits(Vecrev(digits(n))), n)==1 \\ Charles R Greathouse IV, Aug 25 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jun 18 2013
STATUS
approved