OFFSET
1,1
COMMENTS
FORMULA
EXAMPLE
a(1) = 2 because 4 - 2 = 2 where 4 and 2 are tribonacci numbers.
a(2) = 3 because 7 - 4 = 3 where 7 and 4 are tribonacci numbers.
a(3) = 5 because 7 - 2 = 5 where 7 and 2 are tribonacci numbers.
a(4) = 11 because 13 - 2 = 11 where 13 and 2 are tribonacci numbers.
a(5) = 17 because 24 - 7 = 17 where 24 and 7 are tribonacci numbers.
MATHEMATICA
Select[Union[Flatten[Differences/@Subsets[Drop[LinearRecurrence[{1, 1, 1}, {0, 0, 1}, 29], 2], {2}]]], PrimeQ] (* James C. McMahon, Jun 23 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Oct 19 2005
STATUS
approved