The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A109173 Recursive form of A109845 but with a(1)=1. 0

%I #4 Aug 29 2012 14:41:22

%S 1,3,5,31,929,863971,746445024869,557180175152428473492031,

%T 310449747582890872093779269721785644810947012929,

%U 96379045774280656880008037888192772255684941220159788508646084243678677683026025975278640171971

%N Recursive form of A109845 but with a(1)=1.

%C The next term -- a(11) -- has 190 digits. - _Harvey P. Dale_, Aug 29 2012

%F a(1) = 1, a(n)=a(n-1)^2+(-1)^n*a(n-1)+(-1)^n

%p a := proc(n) option remember; if n=1 then 1 else a(n-1)^2+(-1)^n*a(n-1)+(-1)^n fi end:

%t RecurrenceTable[{a[1]==1,a[n]==a[n-1]^2+(-1)^n a[n-1]+(-1)^n},a,{n,10}] (* _Harvey P. Dale_, Aug 29 2012 *)

%Y Cf. A109845.

%K nonn

%O 1,2

%A _Walter Kehowski_, Aug 18 2005

%E More terms from _Harvey P. Dale_, Aug 29 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 22 21:38 EDT 2024. Contains 372758 sequences. (Running on oeis4.)