Search: id:A002942 Results 1-1 of 1 results found. %I A002942 M3370 N1357 %S A002942 1,4,9,61,52,63,94,46,18,1,121,441,961,691,522,652,982,423,163,4,144, %T A002942 484,925,675,526,676,927,487,148,9,169,4201,9801,6511,5221,6921,9631, %U A002942 4441,1251,61,1861,4671,9481,6391,5202,6112,9022,4032,1042,52,1062 %N A002942 Squares written backwards. %D A002942 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %D A002942 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence). %e A002942 For example, 12*12 = 144, which written backwards is 441, so a(12) = 441. 10*10 = 100, so a(10) = 001 = 1. %p A002942 P:=proc(i) local a,b,c,n; for n from 1 by 1 to i do a:=evalf(floor(log10(n^2)+1)); b:=n^2; c:=0; while a>0 do c:=c+(b-(trunc(b/10)*10))*10^(a-1); b:=trunc(b/ 10); a:=a-1; od; print(c); od; end: P(100); [From Paolo P. Lava (ppl(AT)spl.at), Aug 07 2008] %Y A002942 Cf. A000290, A080334. %Y A002942 Sequence in context: A152284 A109717 A013571 this_sequence A028908 A073658 A059479 %Y A002942 Adjacent sequences: A002939 A002940 A002941 this_sequence A002943 A002944 A002945 %K A002942 nonn,base,easy %O A002942 1,2 %A A002942 N. J. A. Sloane (njas(AT)research.att.com). %E A002942 More terms from Jeremy Gardiner (jeremy.gardiner(AT)btinternet.com), Sep 08 2002 Search completed in 0.001 seconds