|
|
A065035
|
|
a(n+1) = a(n)^2 + 3*a(n) + 1.
|
|
1
|
|
|
0, 1, 5, 41, 1805, 3263441, 10650056950805, 113423713055421844361000441, 12864938683278671740537145998360961546653259485195805, 165506647324519964198468195444439180017513152706377497841851388766535868639572406808911988131737645185441
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
a(k) is the optimal competitive ratio of any memoryless algorithm for the weighted k-server problem (Chiplunkar and Vishwanathan). - David Eppstein, Dec 31 2013
This is a divisibility sequence, that is if n divides m then a(n) divides a(m). Cf. A002065. - Peter Bala, Mar 26 2018
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(3) = a(2)^2 + 3*a(2) + 1 = 25 + 15 + 1 = 41.
|
|
PROG
|
(PARI) a(n)=if(n<1, 0, a(n-1)^2+3*a(n-1)+1);
(PARI) { for (n=0, 12, a=if(n, a^2 + 3*a + 1, 0); write("b065035.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 03 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|