OFFSET
1,1
COMMENTS
a(14) has 2084 digits. - Michael S. Branicky, Apr 27 2023
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..13
PROG
(PARI) j=[]; for(n=1, 210, a=9^n+7^n+5^n+3^n; if(Mod(a, n)==0, j=concat(j, (a/n)))); j
(Python)
def okexp(n): return (pow(9, n, n) + pow(7, n, n) + pow(5, n, n) + pow(3, n, n))%n == 0
print([(9**n + 7**n + 5**n + 3**n)//n for n in range(1, 100) if okexp(n)]) # Michael S. Branicky, Apr 27 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 25 2001
STATUS
approved