OFFSET
1,1
EXAMPLE
See A186223.
MATHEMATICA
(* Program for adjusted rank sequences as described at A186219 *)
d=-1/2; u=1/2; v=1/2; w=0; x=3/2; y=-1/2; z=0; (* triangular & pentagonal *)
h[n_]:=-y+(4x(u*n^2+v*n+w-z-d)+y^2)^(1/2);
a[n_]:=n+Floor[h[n]/(2x)];
k[n_]:=-v+(4u(x*n^2+y*n+z-w+d)+v^2)^(1/2);
b[n_]:=n+Floor[k[n]/(2u)];
Table[a[n], {n, 1, 100}] (* A186225 *)
Table[b[n], {n, 1, 100}] (* A186226 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 15 2011
STATUS
approved