login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Binomial transform gives a prime.
1

%I #5 Aug 15 2017 01:36:00

%S 2,1,1,3,5,1,3,1,5,11,15,1,1,21,5,11,3,1,43,9,17,13,1,1,9,7,41,23,21,

%T 25,27,9,3,1,9,3,13,11,19,3,1,35,1,23,29,5,11,27,1,39,15,9,47,75,73,

%U 11,61,1,57,3,93,57,117,69,7,93,51,33,97,143,87,65,261,15,23,39,29,55,45,47

%N Binomial transform gives a prime.

%e For n = 3 we have (2,1,1,3).(1,3,3,1) = 2*1 + 1*3 + 1*3 + 3*1 = 11 is a prime.

%p a:=[]: for n from 0 to 100 do m:=add(a[i+1]*binomial(n,i),i=0..n-1): a:=[op(a),nextprime(m)-m] od: op(a); # C. Ronaldo

%Y Cf. A090235.

%K nonn

%O 0,1

%A _Amarnath Murthy_, Nov 26 2003

%E More terms from C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 26 2004