login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 0
1, 3, 11, 61, 379, 2731, 22301, 203897, 2064455, 22938391, 277554529, 3633441109, 51170962283, 771500662115, 12399117783989, 211611610180081, 3822234708877711, 72847296804492847, 1460993008134550985 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Conjecture: There are infinitely many primes in this sequence.

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.

FORMULA

a(n) = (n+1)!-floor(((n+1)!+1)/e) - n! + floor((n!+1)/e),n>1 [From Gary Detlefs (gdetlefs(AT)aol.com), Nov 07 2010]

PROG

(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])

CROSSREFS

Cf. A095236.

Sequence in context: A076475 A125556 A127516 * A185385 A024528 A004108

Adjacent sequences:  A095234 A095235 A095236 * A095238 A095239 A095240

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 13 2004

EXTENSIONS

Edited by Johan Claes (Johan.Claes(AT)luc.ac.be), Jun 16 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 15:20 EST 2012. Contains 205823 sequences.