cp's OEIS Frontend

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.

A086851 a(0) = 1, a(n+1) = a(n)^2 - n.

This page as a plain text file.
%I A086851 #19 Oct 18 2020 17:10:14
%S A086851 1,1,0,-2,1,-3,4,10,93,8641,74666872,5575141774264374,
%T A086851 31082205803147712138788845611865,
%U A086851 966103517589229313003894215813508352493573272034098666228778213
%N A086851 a(0) = 1, a(n+1) = a(n)^2 - n.
%H A086851 Indranil Ghosh, <a href="/A086851/b086851.txt">Table of n, a(n) for n = 0..16</a>
%H A086851 <a href="/index/Aa#AHSL">Index entries for sequences of form a(n+1)=a(n)^2 + ...</a>
%F A086851 a(n) ~ c^(2^n), where c = 1.0178612979109216580505412401816630473815821687019037486630926162018899277... . - _Vaclav Kotesovec_, Dec 18 2014
%p A086851 a := proc(n) option remember: if n=0 then RETURN(1) fi: a(n-1)^2-n+1: end: for n from 0 to 15 do printf(`%d,`,a(n)) od:
%t A086851 a=1; lst={}; Do[a=a^2-n; AppendTo[lst, a], {n, 0, 14}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Dec 17 2008 *)
%t A086851 RecurrenceTable[{a[0] == 1, a[n+1] == a[n]^2 - n}, a, {n, 0, 15}] (* _Vaclav Kotesovec_, Dec 18 2014 *)
%t A086851 nxt[{n_,a_}]:={n+1,a^2-n-1}; NestList[nxt,{-1,1},14][[All,2]] (* _Harvey P. Dale_, Oct 18 2020 *)
%Y A086851 Cf. A153059, A153059.
%K A086851 sign,easy
%O A086851 0,4
%A A086851 David McLeod Moulton (dmoulton(AT)asianinc.org), Aug 18 2003