login
Indices of primes in A141036.
3

%I #10 Sep 15 2014 11:15:12

%S 0,5,14,26,33,222,234,482,937,1170,1290,1877,1897,3413,6017,9365,

%T 47470,48254,97421,102057,119689,132418,192517,194442

%N Indices of primes in A141036.

%C a(25) > 2*10^5.

%C A141036(a(n)) = A246518(n).

%H Tony D. Noe and Jonathan Vos Post, <a href="http://www.cs.uwaterloo.ca/journals/JIS/VOL8/Noe/noe5.html">Primes in Fibonacci n-step and Lucas n-step Sequences</a>, J. of Integer Sequences, Vol. 8 (2005), Article 05.4.4

%t a={2,1,1}; Print[0]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]

%o (Haskell)

%o a246517 n = a246517_list !! (n-1)

%o a246517_list = filter ((== 1) . a010051'' . a141036) [0..]

%o -- _Reinhard Zumkeller_, Sep 15 2014

%Y Cf. A001590, A100683, A231574, A231575, A232542, A214899, A230607, A020992, A232498, A214727, A081172, A214752, A141523, A214825, A235862, A214827-A214829, A243622, A243623, A214831, A141036.

%Y Cf. A049084.

%K nonn

%O 1,2

%A _Robert Price_, Aug 28 2014