STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
w=str(n)
return nw==int(str(n)w[::-1])
print([A087991(n) for n in range(1, 60)]) # Indranil Ghosh, Feb 10 2017
reviewed
editing
proposed
reviewed
editing
proposed
editing
proposed
....if return n==int(str(n)[::-1]):return True
....return False
.... s = 0
.... for i in range(1, n+1):
........ if n%i==0 and not ispal(i)==False:
............ s+=1
return s
....return s print([A087991(n) for n in range(60)]) # Indranil Ghosh, Feb 10 2017
approved
editing
proposed
approved