OFFSET
0,3
COMMENTS
Every third term is divisible by 9, no other term is divisible by 3. - Alonso del Arte, Mar 04 2013
LINKS
Harry J. Smith and Indranil Ghosh, Table of n, a(n) for n = 0..10000 (first 1001 terms from Harry J. Smith)
EXAMPLE
a(10) = 10 = 10 * 01.
a(11) = 121 = 11 * 11.
a(12) = 252 = 12 * 21.
a(13) = 403 = 13 * 31.
MATHEMATICA
#*FromDigits[Reverse[IntegerDigits[#]]] &/@Range[0, 49] (* Ant King, Jan 07 2012 *)
#*IntegerReverse[#]& /@ Range[0, 49] (* Jean-François Alcover, Oct 27 2019 *)
PROG
(PARI) { for (n=0, 1000, x=n; r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); write("b061205.txt", n, " ", n*r) ) } \\ Harry J. Smith, Jul 18 2009
(PARI) rev(k) = subst(Polrev(digits(k)), x, 10);
a(n) = n*rev(n); \\ Michel Marcus, Feb 14 2015
(PARI) a(n) = n*fromdigits(Vecrev(digits(n))); \\ Michel Marcus, May 28 2018
(Haskell)
a061205 n = a004086 n * n
-- Reinhard Zumkeller, Apr 10 2012, Apr 29 2011
(Python)
def A061205(n):
return n*A004086(n) # Indranil Ghosh, Jan 09 2017
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Apr 21 2001
EXTENSIONS
Corrected and extended by Patrick De Geest, Jun 04 2001
STATUS
approved