OFFSET
1,2
LINKS
Martin Burtscher, Igor Szczyrba, and RafaĆ Szczyrba, Analytic Representations of the n-anacci Constants and Generalizations Thereof, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.5.
MATHEMATICA
ip=Select[Prime[Range[65]], NoneTrue[{#-2, #+2}, PrimeQ]&]; Union[Flatten[Table[n+{1, -1}, {n, ip}]]] (* James C. McMahon, Apr 12 2025 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Nov 27 2007
STATUS
approved
