[go: up one dir, main page]

login
A073323
Smallest x such that A073259[x]=n; the first number of which length of fixed-point-list terminated by x-th composite number equals n.
1
0, 0, 4, 1, 29, 153, 4913, 73114, 1985627
OFFSET
1,3
COMMENTS
Occurrences of lengths [1-10] for n<=10000000 are {0,0,64,4662,310495,6468633,3041909,173579,658,0}.
FORMULA
a(n)=Min{x; A073259[x]=n}
EXAMPLE
For lengths n=3, 4, 5, 6, 7, 8 the corresponding lists are: {4, 7, 9}, {1, 2, 3, 4}, {29, 40, 42, 43, 44}, {153, 190, 196, 198, 199, 200}, {4913, 5570, 5649, 5656, 5658, 5659, 5660} and {73114, 80343, 80982, 81039, 81046, 81048, 81049, 81050}.
MATHEMATICA
lfp[x_] := Length[FixedPointList[x + PrimePi[ # ] + 1 &, x]]-1 t=Table[0, {15}]; Do[s=lfp[n]; If[s<16&&t[[s]]==0, t[[s]]=n], {n, 1, 100000}]; t
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Labos Elemer, Jul 29 2002
STATUS
approved