STATUS
editing
approved
editing
approved
No composites below 2*10^7. - Charles R Greathouse IV, May 06 2016
nonn,changed
approved
editing
editing
approved
No composites below 10^7. - Charles R Greathouse IV, Apr 20 2016
approved
editing
editing
approved
It appears that 9 is the only composite number in this sequence generates prime numbers except 9.
2,1,1
Charles R Greathouse IV, <a href="/A270834/b270834.txt">Table of n, a(n) for n = 1..10000</a>
(PARI) is(n)=my(a, b=Mod(1, n), t=b); for(k=2, n-2, [a, b]=[b, a+2*b]; t*=b; if(t==0, return(0))); t*(2*a+5*b) && n>2 \\ Charles R Greathouse IV, Mar 24 2016
proposed
editing
editing
proposed