The scenario of detonative ignition in shocked mixture is significant because it is a contributor to deflagration to detonation transition, for example following shock reflections. However, even in one dimension, simulation of ignition between a contact surface or a flame and a shock moving into a combustible mixture is difficult because of the singular nature of the initial conditions. Initially, as the shock starts moving into reactive mixture, the region filled with reactive mixture has zero thickness. On a fixed grid, the number of grid points between the shock and the contact surface increases as the shock moves away from the latter. Due to initial lack of resolution in the region of interest, staircasing may occur, whereby the resulting plots consist of jumps between few values a few grid points, and these numerical artifacts are amplified by the chemistry which is very sensitive to temperature, leading to unreliable results. The formulation is transformed, replacing time and space by time and space over time as the independent variables. This frame of reference corresponds to the self-similar formulation in which the non-reactive problem remains stationary, and the initial conditions are well-resolved. Additionally, a solution obtained from short time perturbation is used as initial condition, at a time still short enough for the perturbation to be very accurate, but long enough so that there is sufficient resolution. The numerical solution to the transformed problem is obtained using an essentially non-oscillatory algorithm, which is adequate not only for the early part of the process, but also for the latter part, when chemistry leads to appearance of a shock and eventually a detonation wave is formed. A validation study was performed and the results were compared with the literature, for single step Arrhenius chemistry. The method and its implementation were found to be effective. Results are presented for values of activation energy ranging from mild to stiff.