OFFSET
2,7
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..365
EXAMPLE
a(8)=2 because the 8th tribonacci number 24 = 2^3*3 has 2 distinct prime factors.
MATHEMATICA
PrimeNu[LinearRecurrence[{1, 1, 1}, {1, 1, 2}, 87]] (* Amiram Eldar, Oct 23 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Oct 22 2023
STATUS
approved