A242576 Prime terms in A214828.
13, 151, 277, 36313, 225949, 7129366889, 933784181621, 19397107178326126131136629644898891137047, 401151570474397232184569825031979125080583558010764826781295643008140597581801
Offset: 1
Keywords
Links
- Michel Marcus, Table of n, a(n) for n = 1..17
Crossrefs
Programs
-
Mathematica
a={1,6,6}; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum] Select[LinearRecurrence[{1,1,1},{1,6,6},350],PrimeQ] (* Harvey P. Dale, Jul 21 2018 *)
-
PARI
my(x='x+O('x^500)); select(isprime, Vec((1+5*x-x^2)/(1-x-x^2-x^3))) \\ Michel Marcus, Jun 16 2025
Comments