OFFSET
1,2
COMMENTS
The sequence s of numbers k for which R(d(k)) = d(R(k)) first differs at s(80) = 262 while a(80) = 252. - Mohammed Yaseen, Mar 24 2023
LINKS
Mohammed Yaseen, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harry J. Smith)
EXAMPLE
d(24) = 8 and also d(42) = 8, hence both are members.
MATHEMATICA
Select[Range[180], DivisorSigma[0, #]==DivisorSigma[0, FromDigits[Reverse[IntegerDigits[#]]]] &] (* Jayanta Basu, May 17 2013 *)
PROG
(PARI) { n=0; for (m=1, 10^9, x=m; r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); if (numdiv(m) == numdiv(r), write("b062895.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 12 2009
(PARI) isok(k) = numdiv(fromdigits(Vecrev(digits(k)))) == numdiv(k); \\ Michel Marcus, Jul 06 2021
(Python)
from sympy import divisor_count as d
def ok(n): return d(n) == d(int(str(n)[::-1]))
print([k for k in range(1, 180) if ok(k)]) # Michael S. Branicky, Mar 24 2023
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Amarnath Murthy, Jun 30 2001
EXTENSIONS
Corrected and extended by Vladeta Jovovic, Jun 30 2001
STATUS
approved