You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# a(n) is the largest prime factor of 2^p - p^2 where p is the n-th prime
# https://oeis.org/A350964
include('../../../factordb/auto.sf')
funca(n){
2**prime(n) - prime(n)**2
}
varfh=File('bfile.txt').open_w
fh.autoflush(true)
fornin(3..10000){
varrow="#{n}#{gpf(a(n))}"
sayrow
fh.say(row)
}
__END__
not FF: 6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291114785711