Introduction

The discovery of metal-catalyzed strategies is widespread interest in diverse organic transformations such as oxidation1,2, reduction3,4,5,6, coupling7,8,9,10 as well as cyclization reactions11,12,13. On this point, dendrimers have played a significant role due to their special physical properties which make them as suitable hosts for metal complexes and nanoparticles. Furthermore, they show excellent recyclability and reusability with maintaining their activities14,15,16,17.

Annulation of an alkyne with a nucleophile via oxidative coupling reaction in the presence of transition metals such as Pd18,19,20, Pt21,22, Ni23, Au24,25,26 and In27,28 is an attractive hot-topic because this method afforded an atom-economical manner for the straightforward one-step synthesis of heterocyclic molecules.

In the chemical synthetic opportunities, nitrogen-based heterocycles have attracted particular attention in the scope of drug discovery for treatment of many diseases and biological studies. Among numerous heterocycles, the pyrrole and indole moieties are core structures of important synthetic pharmaceuticals, natural products and electrically conducting materials29,30,31,32. Thanks to many considerable advances in pyrrole and indole synthesis catalyzed by diverse metals, most of these methods suffer from drawbacks and limitations including sensitivity to air, long reaction times or low yields, low turnover frequency (TOF) and harsh reaction conditions33,34,35,36,37,38. Moreover, this organic transformation is performed in the presence of hazardous axially and co-catalyst such as phosphines and copper ions37. Therefore, there is a strong demand for their fine, efficient and site-selective synthesis which is a useful task in organic chemistry.

By combination of transition-metal catalysis aspects, potential of dendrimers, and our interest in palladium-catalyzed C–C coupling reactions39,40,41, we are pleased to report a unique palladium containing 1,3,5-triazine dendrimer stabilized nanomagnetic particles (Pd-TDSN) catalyzed as a microreactor structure for efficient synthesis of 2,3-diphenylindoles and pentaarylpyrroles under solvent-controlled conditions (Scheme 1).

Scheme 1
scheme 1

Synthesis of 2,3-diphenylindoles and pentaphenyl pyrroles catalyzed by Pd-TDSN.

Results and discussion

In this contribution, we reported previously immobilization and stabilization of transition-metal ions and nanoparticles by diverse triazine dendrimers as excellent hosts and unique spherical three-dimensional organic structures42,43,44,45,46. In continue, a novel triazine dendrimer (TD) was synthesized through multistep convergent approach and characterized (Scheme 2). The magnetite (Fe3O4) nanoparticles were synthesized through the co-precipitation technique47. Subsequently, the nanoparticles were coated and stabilized with triazine dendrimer through self-assembling process to produce the TDSN. During the self-assembling procedure, the dendrimer was attached to magnetic nanoparticles via carboxylic acid groups. This three-dimensional network is ready for immobilization of ions and molecules as well as nanoparticles. As shown in Fig. 1, the Pd-TDSN catalyst was prepared via reaction between Na2PdCl4 and TDSN.

Scheme 2
scheme 2

Synthesis of triazine dendrimer through a multistep convergent approach.

Fig. 1
figure 1

Schematic illustration of stabilization of magnetic nanoparticles by a self-assembling approach and immobilization of palladium ions.

The FT-IR spectra of magnetic nanoparticels (a) and the TDSN (b) were shown in Fig. S1 (see supporting information). As can be seen, TDSN spectrum shows the stretching vibrations of C–H bonds at about 2890–2923 cm−1, triazine ring at 1580 cm−1 (C=N) and carbonyl of carboxyl group at 1695 cm−1. In addition, the stretching characteristic bands at 1230 cm−1 and 1120 cm−1 can be attributed to C–O and C–S bonds, respectively. These observations are good evidences for the attachment of dendritic structure on the surface of magnetic nanoparticles.

Moreover, the chemical composition and bonding environments of the Pd-TDSN evaluated by X-ray photoelectron spectroscopy48 (XPS) and showed that the nanoparticles were composed mainly of C, N, Fe and Pd elements (Fig. 2a, survey scan). Figure 2b showed C 1s peaks of C–C bonds (symmetric skeletal backbone) at 284.5 eV, C–O/S at 286.2 eV, carbon of the triazine ring 288.0 eV, and C=O at 295.5 eV. Besides, N 1s spectrum exhibited the nitrogen of triazine ring at 401.2 eV49,50 and tertiary amine groups at 403.7 and 405.7 eV51 (Fig. 2c). As can be seen Fig. 2d represented characteristic for multiplet splitting of Fe 2p peaks at 712.3, 714.6, 717.6, 725.4 and 728.5 eV which can attributed to Fe(II) 2p3/2, Fe(III) 2p3/2, 2p3/2 shoulder, Fe(II) 2p1/2, Fe(III) 2p1/2 signals, respectively. It worth to mentioned that Fe 2p peak shows small shift to higher binding energy due to stabilization of Fe3O4 nanoparticles by triazine dendrimer. In Fig. 2e, it can be observed that the Pd 3d5/2 and Pd 3d3/2 peaks have binding energies of 338.21 and 343.58 eV, respectively, which suggests that the catalyst contains Pd(II)52.

Fig. 2
figure 2

(a) XPS survey spectrum and the high-resolution XPS spectra of (b) C 1s, (c) N 1s, (d) Fe 2p and (e) Pd 3d of Pd-TDSN.

In Fig. 3a, the SEM image of TDSN demonstrated the retention of the initial nanosphere morphology, indicating successful structural inheritance following self-assembly and immobilization stages.

Fig. 3
figure 3

(a) SEM and (b) TEM images of Pd-TDSN, (c) magnetization curves of MNPs (red) and TDSN (black) observed by VSM at room temperature.

Furthermore, the energy dispersive X-ray analysis (EDX) (Fig. S2) clearly confirmed the presence of elements of the catalyst. The TEM image (Fig. 3b) exhibited dark nanomagnetic cores surrounded by grey dendrimer, confirming core-shell structure. Furthermore, an examination of the magnetic characteristics of both nanoparticles and TDSN was conducted through the use of a vibrating sample magnetometer (VSM). The Fig. 3c shows magnetization curves of magnetic nanoparticles (Fe3O4) and TDSN, swept from −1 to +1 T at room temperature. As clearly seen, both samples showed superparamagnetic behavior. It is worth mentioning that, the reduction of response to magnetic field indicated an increase of thickness of the triazine dendrimer as a shell layer on the magnetic nanoparticles. Hence, the amount of magnetization (Ms) for TDSN was found to be lower than magnetic nanoparticles.

We then commenced our studies on the potential catalytic activity of Pd-TDSN in the reaction of aniline (Anil) with diphenylacetylene (DPA) for the synthesis of 2,3-diphenylindole. To find the optimized reaction conditions, we explored the amount of the catalyst, base, additive, and the reaction temperature, solvent as well as molar ratios of substrates. Representative results are summarized in Table 1. To show the effect of base, the model reaction was performed using different bases in DMF solvent in the presence of Pd-TDSN catalyst (0.3 mol%) and LiCl as additive at 80 °C for 8 h (Table 1, entries 1–5). Among them, the Na2CO3 was found to be the most effective base to provide the desired product in 69% yield (entries 5). Moreover, the yield of the product was reduced to 60%, when NaCl was used instead of LiCl as additive (Table 1, entry 6). The role of additive will be discussed in the mechanism section. Then, different molar ratios of Anil to DPA were tested (entries 5, 7 and 8) and the highest yield was obtained with a molar ratio of 1.2:1 (entry 7). Then, solvent screening was carried out followed by process optimization. When DMSO or a 1:1 mixture of DMF/ THF, DMF/ 1,4-dioxane and DMF/ H2O, was used instead of DMF as reaction medium, the isolated yield was reduced to 34–73% (Table 1, entries 9–12). This can be attributed to the reducing of the polarity of reaction medium. Surprisingly, when cyclic ethers such as tetrahydrofuran (THF) or 1,4-dioxane were used as the solvent, the respected 2,3-diphenylindole was obtained in only 15% and 22% yields, respectively (Table 1, entries 13 and 14). Under these conditions, pentaphenylpyrrole was detected as the main product. Screening the catalyst amount (entries 7, 15 and 16) and reaction temperature °C (entries 7, 17 and 18) showed that 0.3 mol% catalyst and 80 °C (entry 7) are the best choices. Based on these findings, the most favorable conditions for synthesis of 2,3-diphenylindoles are utilizing Anil (1.2 mmol), DPA (1 mmol), Na2CO3 (1.5 mmol), LiCl (0.5 mmol), in the presence of Pd-TDSN (0.3 mol% Pd) and DMF as polar solvent at 80 °C (Table 1, entry 6). It should be noted that the synthesis reaction of indole did not occur in the presence of Fe3O4 nano particles.

Table 1 Screening of the experimental conditions for the Synthesis of indoles ap1.a

After optimizing the reaction conditions, the scope of substrates tolerated in the cyclization reaction was investigated (Scheme 3). A diversity of anilines was used for this transformation. Based on the obtained results, anilines with electron-donating substituents such as methyl and methoxy were smoothly reacted with diphenylacetylene (DPA) and the desired products were isolated in high yields (84–90%). In addition, 4-acethylailine afforded ap3 in good yield in longer reaction time (12 h). In contrast, no indole was produced even after 48 h from anilines containing strong electron with-drawing groups (ortho, meta and para-nitroanilines). This can be attributed to dramatical reduction of possibility of the intramolecular electrophilic aromatic palladation. Also, the reaction of DPA with 2-tert-butyl aniline was tested as an investigation of the effect of the bulk group, but the reaction did not progress after 48 h.

Scheme 3
scheme 3

Pd-TDSN-catalyzed synthesis of 2,3-diphenylindole.

It noteworthy that interesting results were obtained in the annulation reactions between 2- chloro-, 2-bromo- and 2-iodoaniline (ortho-substituted anilines) and diphenylacetylene in the presence of the catalyst (Scheme 4). When 2-chloroaniline was used as the substrate, the respected 7-chloro-2,3-diphenylindole was produced in high yield (76%) and with excellent regioselectivity without formation of 4-chloro-2,3-diphenylindole. Whereas, in the reaction of 2-bromoaniline and/or 2-iodoaniline with diphenylacetylene, the corresponding 2,3-diphenylindoles were obtained as the sole products in 70% and 85% yields, respectively, via Larock annulation.

Scheme 4
scheme 4

Larock indole synthesis from 2-haloanilines in the presence of Pd-TDSN.

The results disclose that the dendritic structure on nano particles provide micro environments or microreactors as an atom economy and efficient approach for accelerates the annulation reaction due to access to active sites and faster mass transfer.

To further expand the potential of the present protocol, the preparation of bis-indoles was also studied. As shown in Scheme 5, the “bis-annulation” between 1,3- or 1,4-phenylendiamine and diphenylacetylene was accomplished impressively in the presence of Pd-TDSN and obtained in good yields of the corresponding bis-indoles. As shown, two products are theoretically possible for both reactions. The 1H NMR spectrum of the product of the reaction of 1,3-phenylenediamine and phenyl acetylene (see SI) showed that the ratio among 3-BIN1 and 3-BIN2 isomers was about 70:30 (based on the peak area of N-H of indoles and two type of aromatic hydrogens). Whereas, under the same conditions, 1,4-phenylendiamine took part efficiently in this reaction to give only one regioisomeric bis-indole 4-BIN1.

Scheme 5
scheme 5

Pd-TDSN-catalyzed synthesis of bis-indoles.

Encouraged by the results obtained in annulation, we then investigated the efficiency of Pd-TDSN catalyst in the synthesis of pentaarlypyrrole derivatives. As outlined above, pentaphenylpyrroles could be efficiently obtained from the reaction of aniline and diphenylacetylene in cyclic ether (1,4-dioxane and THF) (Table 1, entries 13 and 14). Hence, we set out the optimization study for the preparation of these derivatives in the presence of Pd-TDSN (Table 2). Various reaction parameters, including the base and solvent type, temperature, catalyst quantity, and substrate molar ratios, were investigated. The representative results are provided in Table 2. As is shown, the optimized condition was using Anil (1 mmol), DPA (2 mmol), Na2CO3 (1 mmol) in the presence of Pd-TDSN (0.3 mol% Pd) and dioxane at 90 °C (Table 2, entry 5).

Table 2 Screening of the experimental conditions for the Synthesis of pentaphenylpyrrole.

The scope and generality of this method for the synthesis of pentaarylpyrroles was investigated under optimized conditions. Scheme 6 demonstrated the efficient reaction between diphenylacetylene and anilines bearing various substituents, leading to high yields of the desired products, expect for 4-nitroaniline which did not show any progress even after 48 h.

Scheme 6
scheme 6

Pd-TDSN-catalyzed synthesis of pentaarylpyrroles.

According to the reaction conditions and based on the experimental observations, two plausible mechanisms for the formation of indole ap1 and pentphenylpyrrole p1 are proposed (Scheme 7) and computed (Figs. 4 and 5). In the case of pentaarylpyrrol synthesis, π complex A is initially formed between the triple bond of DPA and Pd(II) ion of Pd-TDSN in dioxane solvent. Next, an aminopalladation process occurs by the attack of aniline to A and provides B with cis configuration. Addition of the second molecule of diphenylacetylene to B gives the carbopalladium53,54 compound C, which upon intramolecular nucleophilic substitution of the chlorine in palladium center by nitrogen forms D as a cyclopalladated complex55. Finally, the desired pyrrole P1 is produced via an Reductive elimination reaction and the Pd0 is released which could be used for the next catalytic cycle.

Scheme 7
scheme 7

Proposed mechanism of the formations of P1 and ap1 from diphenylacetylene and aniline catalyzed by Pd-TDSN.

Fig. 4
figure 4

Computed Gibbs free energy changes of formation P1 and ap1catalyzed by Pd-TDSN.

Fig. 5
figure 5

An overall comparison for the changes of Gibbs free energies of ap1 and P1 formation in DMF and 1,4-dioxane, respectively.

In the case of indole synthesis, as mentioned above, the reaction is carried out in DMF solvent. As mentioned previously, DMF is able to coordinate to palladium ion56. Accordingly, the intermediate G may be formed via a σ–π rearrangement of π-complex F by the attack of aniline to this complex. Then, intramolecular electrophilic aromatic palladation in G leads to H, which upon deprotonation under mildly basic conditions affords the intermediate I. Finally, reductive elimination of palladium from I produces the desired indole ap1 and regenerates the catalyst for the next run. It is noteworthy that in the absence LiCl as additive, the reaction process is slow. It seems that the Cl- ions play an important role in the oxidative-addition/reductive-elimination process. Moreover, chloride ion can significantly influence the stability and activity of palladium (PdCl2) catalysts during recycling processes, often prevents the leaching of palladium into the reaction medium.

Although the main goal of this research is to experimentally investigate the mechanism of the study reaction pathway, TS (transition states) method was used in this section for the computational evaluation of intermediate structures, using DFT-B3LYP/6-311G -LANL2DZ level of theory. Sample of these results are shown in Fig. 6. As can be seen from this figure, the production of product ap1 requires less activation energy. Therefore, product ap1 is expected to be the main product of the reaction (analysis results obtained here can be a confirmation of the analysis of the results mentioned in the experimental part of the paper). The reason for this stability of product ap1 can be in its less spatial hindrance and the stability of its electronic-vibrational structure.

Fig. 6
figure 6

Calculated transition state diagrams for the two reaction pathways.

Computational studies of reaction mechanisms

To elucidate our expire mental results and further cast light on details of two proposed mechanisms, computational studies were performed with density functional theory (DFT)57 and quantum theory of atoms-in-molecules (QTAIM)58. Briefly, geometry optimizations, electronic properties and vibrational characterizations of all structures were carried out at UB3LYP/6-311G+ level of theory. For the palladium atoms of the molecules, LANL2DZ pseudopotential is used. Likewise, based on the QTAIM, the atomic/local electron density, \(\rho (r)\) (and its Laplacian, \(\nabla^{2} \rho (r)\)), electronic kinetic \(\left( {K_{elec} } \right)\), potential \(\left( {V_{elec} } \right)\) and thus total atomic electronic energies \(\left( {E_{elec} } \right)\) of each atomic basins can be obtained by summing the corresponding quantities of all \(N_{\Omega }\) atomic basins \(\left( \Omega \right)\) of the molecule as

$$K_{elec} = \sum\limits_{\Omega }^{{N_{\Omega } }} {K_{elec} (\Omega )} ;\quad V_{elec} = \sum\limits_{\Omega }^{{N_{\Omega } }} {V_{elec} (\Omega )}$$
(1)

Computational studies were conducted at the DFT level B97D3/6-311+g**/ to identify the obstacles associated with the proposed mechanisms' steps, specifically the conversion to P1 and ap1. Comparing the Gibbs free energy profiles of proposed mechanisms were presented in Fig. 5. As can be seen, the formation of A structure (Pd–acetyl π-complex) is the key intermediate for both catalytic cycles. Also, different conformations have different free energies of structures.

Fig. 5 displays the general free energy profile for two catalytic cycles. Kozuch and Shaik's energetic span model59,60 was utilized to calculate the activation energies for the synthesis of P1 and ap1, resulting in values of 31 and 22 kcal/mol, respectively. The rate constant (k) is determined by the driving force between the TOF-determining transition states (C in P1 and H in ap1 of catalytic cycles) and the TOF-determining intermediate (A). The results indicate that kP1 and kap1 are 1.19 × 10−10 s−1 and 4.18 × 10−4 s−1, respectively.

As mentioned above, the pyrrole and indole derivatives are of great significance due to their wide variety of applications as donor moieties in organic light-emitting devices (OLEDs), single molecular electronics, and non-linear optic materials. Therefore, electronic behavior of pathway of transformation of P1 and ap1 was studied by QTAIM. The local (contour maps) electron density \(\left(\rho (r)\right)\), Laplacian electron density \(\left({\nabla }^{2}\rho (r)\right)\) and electronic kinetic energy \(\left(K(r)\right)\) of the P1 and ap1 was represented in Fig. S3.

The QTAIM study of transformation of A to P1 and A to ap1 obviously showed changes of the electronic properties such as electron density and atomic kinetic energy of the atomic basins for structures.

It is noteworthy that each atomic basins of similar atoms (for example carbon atomic basins) do not show the same response, which can be attributed to the distribution of intramolecular charge and energy (atomic/local) changes in the molecular structures.

The study of atomic/local changes of molecular systems using QTAIM as a useful and acceptable theoretical method can open a new window for design of molecular structures with special capabilities such as intramolecular semiconductors, intramolecular junctions and intramolecular nanoparticles.

The results obtained showed the molecular systems intra-molecular charge/energy transfer (P1 and ap1) into sections that are either intramolecular acceptor/donor (n-like/p-like). This division facilitates the identification of the role played by each section (or atomic basin) in the mechanism of intra-molecular charge/energy transfer.

Catalyst recycling and reuse

Recovery and reusability of catalysts are important economic and environmental aspects, especially in organic synthesis. Due to the magnetization characteristic of the Pd-TDSN, the catalyst can be easily separated from the reaction mixture by an external magnet. Therefore, the recovery and reusability of the catalyst were examined in the model reaction of ap1 and P1 syntheses under the optimized conditions (Fig. 7). The catalyst could be reused for six runs without noticeable change in its activity. Also, ICP analysis showed no obvious leaching of palladium even after 7th run. All these observations reveal that the catalyst is stable during the reaction.

Fig. 7
figure 7

Reusability of Pd-TDSN catalyst in the synthesis of ap1 and P1.

Conclusions

In summary, we have advanced an efficient method for synthesis of 2,3-diphenylindoles and pentaarylpyrroles via the annulation of diphenylacetylene with diverse aniline derivatives in the presence of palladium-immobilized triazine dendrimer on magnetic nanoparticles (Pd-TDSN) under mildly basic conditions. The products were obtained selectivity one’s choice of solvent. 2,3-Diphenylindoles were produced in DMF solvent in high yields. Besides, under same conditions, this catalytic system was effectively used for the synthesis of bis-indoles. On the other hand, 1,4-dioxane solvent, pentaarrylepyrroles were obtained in high yields. Ease of recovery and reuse of the catalyst make this method an economic and environmentally-benign process. Besides, the dendritic structure provides micro environment for easy access to active sites and faster mass transformation. The proposed mechanism of two transformation discussed and studied by using DFT/QTAIM theories. The Gibbs free energy of all intermediates and products were calculated and their diagram of transformation progresses were drawn. Furthermore, the results showed that these molecular systems can be used as suitable and elegant candidates for optical devices.

Experimental

General

All chemicals used in this work were purchased from Sigma-Aldrich, Fluka and Merck chemical companies at highest purity.

Preparation of Pd(II) immobilized on 1,3,5-triazin dendrimer stabilized nanomagnetic particles (Pd-TDSN)

In a round bottom equipped with a condenser, 2,4,6-trichloro-1,3,5-triazine (3 mmol), 1-Boc-piperazine (9 mmol) and diisopropylethylamine (DIPEA) (6 mmol) were dissolved in 25 mL of THF and stirred at room temperature for 4 h and then refluxed for 20 h. The solution was evaporated under vacuum. The residue was dissolved in CH2Cl2 (25 mL) and washed with brine (2 × 25 mL). The resulting light-yellow solution was dried over MgSO4, filtered, and evaporated under vacuum. Next, the obtained yellow powder was added to mixture of diluted with HCl (3 mL, 1%) and methanol (3 mL), stirred at room temperature for 1 h and evaporated under vacuum. Then, the residue was dissolved in 15 mL of CHCl3, washed with 0.1 M NaOH (aq) (2 × 5 mL), dried over MgSO4 and filtered. Finally, the solution was evaporated under vacuum to give TPT as a white product.

Preparation of DGT

In a round bottom, 2,4,6-trichloro-1,3,5-triazine (2.93 mmol) and diisopropylethylamine (DIPEA) (12 mmol)) was dissolved in 25 ml of THF and stirred at 0 °C for 2 min. Next, thioglycolic acid (6 mmol) was added dropwise for 10 min at 0 °C for 1 h. After completion of the reaction, the solution was evaporated under vacuum. The crude product was purified by silica-gel chromatography (CH2Cl2: MeOH; 10 :1) to give DGT as a white solid.

Preparation of TD

In a screw-cap glass tube with a magnetic stirrer, a mixture TPT (1 mmol), DGT (3 mmol) and diisopropylethylamine (DIPEA) were dissolved in 50 mL of DMF and stirred at 80 °C for 24 h. The reaction progress was checked by TLC (eluent: CH2Cl2/MeOH; 5:1). After the reaction is over, the residue was dissolved in 1,4-dioxane, washed with brine, dried over MgSO4, filtered and the solvent was evaporated to give a white powder with excellent purity.

Preparation of TDSN

150 mg of MNPs was dispersed in 10 mL of EtOH/DMF (1:1), and DIPEA was added dropwise to this solution for a period of 10 min and pH adjusted at 9. Then, TD (50 mg) was added to the mixture and sonicated for 24 h in a sonication bath. The resulting black precipitate (TDSN) was collected using a permanent magnet, washed several times with ethanol and acetone, and dried in a vacuum oven at 50 °C.

Preparation of Pd-TDSN

A mixture of TDSN (100 mg) and Na2PdCl4 (0.17 mmol) in 25 mL of MeOH was dispersed in 25 mL of MeOH by ultrasonic bath for 30 min. Then, the mixture was shacked overnight at room temperature. The magnetic catalyst was separated by an external magnetic field, washed with ether and dried under vacuum to afford Pd-TDSN as a black solid.

General procedure for synthesis of 2,3-diphenyl-1H-indole catalyzed by Pd-TDSN

A mixture of Anil (1 mmol), DPA (1 mmol), Na2CO3 (1 mmol), LiCl (0.5 mmol) and Pd-TDSN (0.3 mol%) in 2 mL DMF was stirred at 80 °C for the time indicated. The progress of reaction was monitored by TLC (ethyl acetate/n-hexane 1:5). After complication of reaction, the catalyst was easily separated by a permanent magnet and washed with EtOH (5 mL). The residue was dissolved in ethyl acetate (10 mL), washed with water (2 × 10 mL) and dried over MgSO4. The solution was filtered and evaporated under reduced pressure. The residue was purified by chromatography on silica gel (ethyl acetate/hexane, 1:15) to afford the pure product.

General procedure for synthesis of 1,2,3,4,5-pentaphenyl-1Hpyrrole by Pd-TDSN

A mixture of Anil (1 mmol), DPA (2 mmol), NaOAc (1 mmol) and Pd-TDSN (0.3 mol% Pd) in 2 mL of 1,4-dioxane was stirred at 90 °C. After whole consumption of the starting material monitored by TLC (ethyl acetate/n-hexane 1:5) the mixture was cooled to room temperature.