login
A052286
Primes p such that f(p) > f(q) for all primes q < p, where f(n) is the sum of factorials of the digits of n if that sum is the square of a prime, otherwise f(n)=0.
1
17, 5077, 178799, 506977979, 4045586999, 156777789899, 157778789899, 1445779999999, 1555899989999, 1556788999999999, 144559999999999699, 156787999999999999, 1444446778999999999999, 1556688999999998999999, 15556699999799999999999, 144444556769999999999999999, 144557778999999999989999999, 177777889899989999999999999, 177778899989999999999999989
OFFSET
1,1
LINKS
EXAMPLE
a(2)=5077 because 5! + 0! + 7! + 7! = 101^2 (a squared prime that is larger than any of the previous ones).
CROSSREFS
KEYWORD
nonn,base
AUTHOR
G. L. Honaker, Jr., Feb 07 2000
EXTENSIONS
a(4) found by Jud McCranie
a(5)-a(10) from Donovan Johnson, Dec 04 2009
Terms a(11) onward from Max Alekseyev, Feb 14 2024
STATUS
approved