OFFSET
1,2
COMMENTS
Called trimorphic numbers.
Corresponding values of n: 1, 5, 25, 625, 9376, 90625, 890625, 7109376, 12890625, 212890625, 1787109376, 81787109376, 59918212890625. - Zak Seidov, Apr 12 2013
REFERENCES
James J. Tattersall, Elementary Number Theory in Nine Chapters, Second Edition, Cambridge University Press, p. 44, problem no. 9.
EXAMPLE
15 is in the list since 15 = 5th triangular number and last digit of 15 is 5. Similarly 325 = 25th triangular number and last two digits of 325 gives 25.
MATHEMATICA
t = {}; Do[k = n*(n + 1)/2; p = Length[IntegerDigits[n]]; If[FromDigits[Take[IntegerDigits[k], -p]] == n, AppendTo[t, k]], {n, 240000000}]; t
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jayanta Basu, Apr 11 2013
EXTENSIONS
a(11)-a(13) from Zak Seidov, Apr 12 2013
STATUS
approved