|
Search: id:A084318
|
|
|
| A084318 |
|
Iterate function described in A084317 if started at initial value n until reaching a fixed point. |
|
+0 6
|
|
| 0, 2, 3, 2, 5, 23, 7, 2, 3, 5, 11, 23, 13, 3, 1129, 2, 17, 23, 19, 5, 37, 211, 23, 23, 5, 3251, 3, 3, 29, 547, 31, 2, 311, 31397, 1129, 23, 37, 373, 313, 5, 41, 379, 43, 211, 1129, 223, 47, 23, 7, 5, 317, 3251, 53, 23, 773, 3, 1129, 229, 59, 547, 61, 31237, 37, 2, 1129, 2311
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Conjecture: fixed point always exists.
Some initial values capriciously provide very large prime fixed-points. This behavior is illustrated in A084319 for initial value n=91.
|
|
EXAMPLE
|
a(0)=0 since no prime factors to concatenate;
a[p^j]=p for p prime(powers);
n=95=519: fixed-point list is {95,519,3173,19167,36389},
so a(95)=36389, a prime.
|
|
MATHEMATICA
|
ffi[x_] := Flatten[FactorInteger[x]] ba[x_] := Table[Part[ffi[x], 2*w-1], {w, 1, lf[x]}] lf[x_] := Length[FactorInteger[x]] nd[x_, y_] := 10*x+y tn[x_] := Fold[nd, 0, x] conc[x_] := Fold[nd, 0, Flatten[IntegerDigits[ba[x]], 1]] Table[FixedPoint[conc, w], {w, 1, 90}] Table[conc[w], {w, 1, 128}]
|
|
CROSSREFS
|
Cf. A084317, A084319.
Sequence in context: A086507 A133568 A120716 this_sequence A084317 A037279 A106736
Adjacent sequences: A084315 A084316 A084317 this_sequence A084319 A084320 A084321
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Jun 16 2003
|
|
|
Search completed in 0.002 seconds
|