Analytical Study and Efficient Evaluation of the Josephus Function

03/04/2023
by   Yunier Bello-Cruz, et al.
0

A new approach to analyzing intrinsic properties of the Josephus function, J__k, is presented in this paper. The linear structure between extreme points of J__k is fully revealed, leading to the design of an efficient algorithm for evaluating J__k(n). Algebraic expressions that describe how recursively compute extreme points, including fixed points, are derived. The existence of consecutive extreme and also fixed points for all k≥ 2 is proven as a consequence, which generalizes Knuth result for k=2. Moreover, an extensive comparative numerical experiment is conducted to illustrate the performance of the proposed algorithm for evaluating the Josephus function compared to established algorithms. The results show that the proposed scheme is highly effective in computing J__k(n) for large inputs.

READ FULL TEXT
research
11/17/2009

Apply Ant Colony Algorithm to Search All Extreme Points of Function

To find all extreme points of multimodal functions is called extremum pr...
research
02/11/2020

Smooth Points on Semi-algebraic Sets

Many algorithms for determining properties of real algebraic or semi-alg...
research
04/04/2020

FAIRS – Soft Focus Generator and Attention for Robust Object Segmentation from Extreme Points

Semantic segmentation from user inputs has been actively studied to faci...
research
11/20/2019

A simple and efficient dichotomic search algorithm for multi-objective mixed integer linear programs

We present a simple and at the same time fficient algorithm to compute a...
research
08/29/2013

Universal Approximation Using Shuffled Linear Models

This paper proposes a specific type of Local Linear Model, the Shuffled ...
research
07/27/2023

Singularity Distance Computations for 3-RPR Manipulators Using Intrinsic Metrics

We present an efficient algorithm for computing the closest singular con...
research
12/02/2022

An efficient numerical algorithm for the moment neural activation

Derived from spiking neuron models via the diffusion approximation, the ...

Please sign up or login with your details

Forgot password? Click here to reset