Preparation, crystal structure and physical properties of ternary compounds (R3N)In, R=rare-earth metal