A136338 Primes in the array A136431 that are not Fibonacci numbers.
7, 11, 29, 37, 41, 67, 79, 97, 137, 191, 211, 277, 379, 631, 709, 821, 947, 967, 991, 1129, 1327, 1597, 1831, 2017, 2081, 2267, 2347, 2557, 2683, 2851, 2927, 3571, 3917, 4561, 4657, 4951, 5051, 5779, 6217, 6329, 6763, 8273, 8647, 8779, 9181, 9871, 10093
Offset: 1
Examples
k=1: primes in A000071 = {A000071(4) = 7}, no more through n = 1000. k=2: primes in A001924 = {A001924(3) = 7, A001924(7) = 79, A001924(25) = 514201, ...} k=3: primes in A014162 = {A014162(3) = 11, A014162(6) = 97, A014162(16) = 17519}, no more through n = 30. k=4: primes in A014166 = {A014166(4) = 41, A014166(13) = 10093, A014166(14) = 16703} k=5: primes in A053739 = {A053739(7) = 709, A053739(10) = 8273, A053739(11) = 14323}, no more through n = 27. k=6: primes in A053295 = {A053295(3) = 29, A053295(8) = 2683, 23945893(24) = 23945893}, no more through n = 27. k=7: primes in A053296 = {A053296(3) = 37, A053296(6) = 967, A053296(7) = 2267, A053296(12) = 127921, A053296(13) = 226007}, no more through n = 27.
Programs
-
Maple
A136431 := proc(k,n) local x ; coeftayl(x/(1-x-x^2)/(1-x)^k,x=0,n) ; end: A136338 := proc(amax) local a,k,n,a136431; a := [] ; for k from 1 do if A136431(k,3) > amax then break ; fi ; for n from 3 do a136431 := A136431(k,n) ; if a136431 > amax then break ; fi ; if isprime(a136431) and not a136431 in a then a := [op(a),a136431] ; fi ; od: od: sort(a) ; end: A136338(20000) ; # R. J. Mathar, Apr 21 2008
-
PARI
partsumfib(N,s=[],P=[])={ for( n=1+#s,N, s=concat(s,n+1); forstep( i=n,1,-1, isprime( s[i]+= if( i>1, s[i-1], fibonacci(n+2) ) ) & P=setunion(P,[s[i]]) ); print(s); );vecsort(eval(P))} \\ M. F. Hasler
Formula
Primes in the hyperfibonacci number array of A136431, excluding the n=2 column (which contains every positive integer).
Extensions
Revised definition from N. J. A. Sloane, May 09 2008
More terms from R. J. Mathar, Apr 21 2008
Comments