%I #12 Apr 17 2022 11:06:27
%S 2,3,7,121
%N Palindromes of the form n! + 1.
%e 121 = 5! + 1.
%t Select[Range[10]!+1,PalindromeQ] (* _Harvey P. Dale_, Apr 17 2022 *)
%o (Python)
%o A062935_list, n = [], 1
%o for i in range(1,10**3):
%o ....n *= i
%o ....s = str(n+1)
%o ....if s == s[::-1]:
%o ........A062935_list.append(n+1) # _Chai Wah Wu_, Dec 03 2014
%K nonn,base
%O 1,1
%A _Amarnath Murthy_, Jul 05 2001
%E Comment from _Dean Hickerson_, Jul 06 2001: I doubt that there are any more terms, but I see no hope of proving that. If there are any more terms, they're too large to fit.
|