|
|
A166118
|
|
Fixed points of the mapping f(x) = (x + 2^x) mod (17 + x).
|
|
1
|
|
|
15, 47, 111, 239, 495, 1007, 2031, 4079, 8175, 16367, 32751, 65519, 131055, 262127, 524271, 1048559, 2097135, 4194287, 8388591, 16777199, 33554415, 67108847, 134217711, 268435439, 536870895, 1073741807, 2147483631, 4294967279
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1) + 17, a(1) = 15.
a(n) = 16*2^n - 17.
a(n) = 3*a(n-1) - 2*a(n-2), a(1)=15, a(2)=47.
G.f.: x*(15+2*x)/(1-3*x+2*x^2). (End)
E.g.f.: 16*exp(2*x) - 17*exp(x) + 1. - G. C. Greubel, Apr 26 2016
|
|
MATHEMATICA
|
(*1*) fp[n_]:=FixedPoint[Mod[(#+2^#), 17+# ]&, n] NestList[fp[2#+17]&, 15, 10]
(*2*)NestList[2*#+17&, 15, 40]
LinearRecurrence[{3, -2}, {15, 47}, 10] (* G. C. Greubel, Apr 26 2016 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|