OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
f:= proc(n) max(map(t -> t[2], ifactors(ithprime(n)+3)[2])) end proc:
map(f, [$1..100]); # Robert Israel, Mar 18 2019
MATHEMATICA
a[n_] := Max[FactorInteger[Prime[n] + 3][[;; , 2]]]; Array[a, 100] (* Amiram Eldar, Sep 09 2024 *)
PROG
(PARI) a(n) = vecmax(factor(prime(n) + 3)[, 2]); \\ Amiram Eldar, Sep 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved