%I A085090
%S A085090 0,3,5,7,0,11,13,0,17,19,0,23,0,0,29,31,0,0,37,0,41,43,0,47,0,0,53,0,0,
%T A085090 59,61,0,0,67,0,71,73,0,0,79,0,83,0,0,89,0,0,0,97,0,101,103,0,107,109,
0,
%U A085090 113,0,0,0,0,0,0,127,0,131,0,0,137,139,0,0,0,0,149,151,0,0,157,0,0,163
%N A085090 Starting with n+(n-1) go on adding n-2, then n-3, etc. until one gets
a prime; a(n) = smallest prime in n+(n-1)+(n-2)+...+(n-i) (with the
least i that gives a prime), or 0 if no such prime exists.
%F A085090 If 2n-1 is prime then a(n) = 2n-1, otherwise a(n) = 0. - David Wasserman
(wasserma(AT)spawar.navy.mil), Jan 25 2005
%F A085090 a(A098090(n)-1)=2*A098090(n)-3; a(n)=(2*n-1)*A101264(n-1). - Reinhard
Zumkeller (reinhard.zumkeller(AT)gmail.com), Sep 14 2006
%e A085090 a(8) = 0 as there is no prime in the partial sum of the finite sequence
8,7,6,5,4,3,2,1.
%e A085090 a(7) = 13 = 7 + 6.
%Y A085090 Cf. A122845.
%Y A085090 Sequence in context: A099414 A099744 A024601 this_sequence A084713 A162538
A084712
%Y A085090 Adjacent sequences: A085087 A085088 A085089 this_sequence A085091 A085092
A085093
%K A085090 easy,nonn
%O A085090 1,2
%A A085090 Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com),
Jul 02 2003
%E A085090 More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Jan 25
2005
|