|
|
A091522
|
|
Graham-Pollak sequence with initial term 5.
|
|
4
|
|
|
5, 7, 10, 14, 20, 28, 40, 57, 81, 115, 163, 231, 327, 463, 655, 927, 1311, 1854, 2622, 3708, 5244, 7416, 10488, 14832, 20976, 29665, 41953, 59331, 83907, 118663, 167815, 237326, 335630, 474653, 671261, 949307, 1342523, 1898614, 2685046
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = floor(sqrt(2) * (a(n-1) + 1/2)).
|
|
MATHEMATICA
|
NestList[Floor[Sqrt[2](#+1/2)]&, 5, 40] (* Harvey P. Dale, Feb 24 2018 *)
|
|
PROG
|
(PARI) first(n)=my(v=vector(n)); v[1]=5; for(k=2, n, v[k]=sqrtint(2*(v[k-1]+1)*v[k-1])); v \\ Charles R Greathouse IV, Jan 23 2020
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|