This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A095237 #18 Dec 29 2024 18:41:22 %S A095237 1,3,11,61,379,2731,22301,203897,2064455,22938391,277554529, %T A095237 3633441109,51170962283,771500662115,12399117783989,211611610180081, %U A095237 3822234708877711,72847296804492847,1460993008134550985 %N A095237 a(1)=1; then for n even, a(n)=(sum of previous terms times n) plus 1, for n odd, a(n)=(sum of previous terms times n) minus 1. %C A095237 Conjecture: There are infinitely many primes in this sequence. %C A095237 The sequence would have been a little nicer if the even terms had a minus one and the odd a plus one, so the first term would not have to be an exception. %C A095237 Except for the first two terms, it appears that a(n) are the first differences of A002467. - _Carl Najafi_, Sep 27 2018 %H A095237 Muniru A Asiru, <a href="/A095237/b095237.txt">Table of n, a(n) for n = 1..100</a> %F A095237 a(n) = (n+1)! - floor(((n+1)!+1)/e) - n! + floor((n!+1)/e), n > 1. - _Gary Detlefs_, Nov 07 2010 %p A095237 Digits:=100: a:=n->factorial(n+1)-floor((factorial(n+1)+1)/exp(1))-factorial(n)+floor((factorial(n)+1)/exp(1)): 1,seq(a(n),n=2..20); # _Muniru A Asiru_, Sep 28 2018 %o A095237 (PARI) a=vector(100); s=1; for(i=2,100,if(Mod(i,2)==0,a[i]=s*i+1,a[i]=s*i-1);s+=a[i]) %Y A095237 Cf. A095236. %K A095237 nonn %O A095237 1,2 %A A095237 _Amarnath Murthy_, Jun 13 2004 %E A095237 Edited by _Johan Claes_, Jun 16 2004