A228916 Indices of primes in sequence A108300.
1, 3, 9, 15, 39, 225, 231, 363, 687, 1299, 1335, 1809, 2367, 12735
Offset: 1
Programs
-
Mathematica
seq=RecurrenceTable[{a[n]==3*a[n-1]+a[n-2],a[0]==1,a[1]==5},a,{n,1,1000}]; Select[Range[1000],PrimeQ[seq[[#]]]&]
Comments