|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.02.16.0014.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nest[f, x, n] == Ceiling[(x - (a b)/(b - 1))/b^n + (a b)/(b - 1)] /;
f[x] == a + Ceiling[x/b] && Element[a, Integers] && Element[b, Integers] &&
b > 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Nest", "[", RowBox[List["f", ",", "x", ",", "n"]], "]"]], "\[Equal]", RowBox[List["Ceiling", "[", RowBox[List[RowBox[List[RowBox[List["(", RowBox[List["x", "-", FractionBox[RowBox[List["a", " ", "b"]], RowBox[List["b", "-", "1"]]]]], ")"]], " ", SuperscriptBox["b", RowBox[List["-", "n"]]]]], "+", FractionBox[RowBox[List["a", " ", "b"]], RowBox[List["b", "-", "1"]]]]], "]"]]]], "/;", RowBox[List[RowBox[List[RowBox[List["f", "[", "x", "]"]], "\[Equal]", RowBox[List["a", "+", RowBox[List["Ceiling", "[", FractionBox["x", "b"], "]"]]]]]], "\[And]", RowBox[List["a", "\[Element]", "Integers"]], "\[And]", RowBox[List["b", "\[Element]", "Integers"]], "\[And]", RowBox[List["b", ">", "0"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <mi> Nest </mi> <mo> [ </mo> <mrow> <mi> f </mi> <mo> , </mo> <mi> x </mi> <mo> , </mo> <mi> n </mi> </mrow> <mo> ] </mo> </mrow> <mo> ⩵ </mo> <mrow> <mo> ⌈ </mo> <mrow> <mrow> <mrow> <mo> ( </mo> <mrow> <mi> x </mi> <mo> - </mo> <mfrac> <mrow> <mi> a </mi> <mo> ⁢ </mo> <mi> b </mi> </mrow> <mrow> <mi> b </mi> <mo> - </mo> <mn> 1 </mn> </mrow> </mfrac> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <msup> <mi> b </mi> <mrow> <mo> - </mo> <mi> n </mi> </mrow> </msup> </mrow> <mo> + </mo> <mfrac> <mrow> <mi> a </mi> <mo> ⁢ </mo> <mi> b </mi> </mrow> <mrow> <mi> b </mi> <mo> - </mo> <mn> 1 </mn> </mrow> </mfrac> </mrow> <mo> ⌉ </mo> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mrow> <mi> f </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mi> a </mi> <mo> + </mo> <mrow> <mo> ⌈ </mo> <mfrac> <mi> x </mi> <mi> b </mi> </mfrac> <mo> ⌉ </mo> </mrow> </mrow> </mrow> <mo> ∧ </mo> <mrow> <mi> a </mi> <mo> ∈ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> b </mi> <mo> ∈ </mo> <semantics> <msup> <mi> ℕ </mi> <mo> + </mo> </msup> <annotation encoding='Mathematica'> TagBox[SuperscriptBox["\[DoubleStruckCapitalN]", "+"], Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> Nest </ci> <ci> f </ci> <ci> x </ci> <ci> n </ci> </apply> <apply> <ceiling /> <apply> <plus /> <apply> <times /> <apply> <plus /> <ci> x </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <ci> a </ci> <ci> b </ci> <apply> <power /> <apply> <plus /> <ci> b </ci> <cn type='integer'> -1 </cn> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> <apply> <power /> <ci> b </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> n </ci> </apply> </apply> </apply> <apply> <times /> <ci> a </ci> <ci> b </ci> <apply> <power /> <apply> <plus /> <ci> b </ci> <cn type='integer'> -1 </cn> </apply> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <eq /> <apply> <ci> f </ci> <ci> x </ci> </apply> <apply> <plus /> <ci> a </ci> <apply> <ceiling /> <apply> <times /> <ci> x </ci> <apply> <power /> <ci> b </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> <apply> <in /> <ci> a </ci> <integers /> </apply> <apply> <in /> <ci> b </ci> <integers /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Nest", "[", RowBox[List["f_", ",", "x_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["Ceiling", "[", RowBox[List[RowBox[List[RowBox[List["(", RowBox[List["x", "-", FractionBox[RowBox[List["a", " ", "b"]], RowBox[List["b", "-", "1"]]]]], ")"]], " ", SuperscriptBox["b", RowBox[List["-", "n"]]]]], "+", FractionBox[RowBox[List["a", " ", "b"]], RowBox[List["b", "-", "1"]]]]], "]"]], "/;", RowBox[List[RowBox[List[RowBox[List["f", "[", "x", "]"]], "\[Equal]", RowBox[List["a", "+", RowBox[List["Ceiling", "[", FractionBox["x", "b"], "]"]]]]]], "&&", RowBox[List["a", "\[Element]", "Integers"]], "&&", RowBox[List["b", "\[Element]", "Integers"]], "&&", RowBox[List["b", ">", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|