OFFSET
1,3
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1073
FORMULA
EXAMPLE
The initial terms of A090252 are:
1 -> 0
2 = 2^1 ->1
3 = 2^0 3^1 -> 10
5 = 2^0 3^0 5^1 -> 100
4 = 2^2 -> 2
7 = 2^0 3^0 5^0 7^1 -> 1000
9 = 2^0 3^2 -> 20
...
The terms, right-justified, for comparison with A355892, are:
.1 ...................................0
.2 ...................................1
.3 ..................................10
.4 .................................100
.5 ...................................2
.6 ................................1000
.7 ..................................20
.8 ...............................10000
.9 ..............................100000
10 .............................1000000
11 ...................................3
12 ............................10000000
13 ...........................100000000
14 .................................200
15 ................................1010
16 ..........................1000000000
17 .........................10000000000
18 ........................100000000000
19 .......................1000000000000
20 ......................10000000000000
21 .....................100000000000000
22 ....................1000000000000000
23 ...................................4
24 ...................10000000000000000
...
MATHEMATICA
nn = 24, s = Import["https://oeis.org/A090252/b090252.txt", "Data"][[1 ;; nn, -1]]; f[n_] := If[n == 1, 0, Function[g, FromDigits@ Reverse@ ReplacePart[Table[0, {PrimePi[g[[-1, 1]]]}], #] &@ Map[PrimePi@ First@ # -> Last@ # &, g]]@ FactorInteger@ n]; Array[f[s[[#]]] &, nn] (* Michael De Vlieger, Aug 24 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 23 2022
STATUS
approved