Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062936
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A062936
%S A062936 1,2,3,11,12,21,22,101,102,111,112,121,122,201,202,211,212,221,1001,
%T A062936 1002,1011,1012,1021,1022,1101,1102,1111,1112,1121,1201,1202,1211,2001,
%U A062936 2002,2011,2012,2021,2101,2102,2111,2201,10001,10002,10011,10012
%N A062936 Numbers n such that n*R(n) is a palindrome, where R(n) (A004086) = digit 
               reversal.
%H A062936 Harry J. Smith, <a href="b062936.txt">Table of n, a(n) for n=1,...,500</
               a>
%F A062936 Includes integers not ending in 0 with sum of squares of digits < 10. 
               - David W. Wilson (davidwwilson(AT)comcast.net), Jul 06, 2001.
%e A062936 122*221 = 26962 hence 122 belongs to the sequence.
%t A062936 Select[Range[100000], Reverse[IntegerDigits[ #*FromDigits[Reverse[IntegerDigits[ 
               # ]]]]] == IntegerDigits[ #*FromDigits[Reverse[IntegerDigits[ # ]]]] 
               &] [From Tanya Khovanova (tanyakh(AT)yahoo.com), Jun 17 2009]
%o A062936 (PARI) digitsIn(x)= { local(d); if (x==0, return(1)); d=1 + log(x)\log(10); 
               if (10^d == x, d++, if (10^(d-1) > x, d--)); return(d) } Palin(x)= 
               { local(y,d,e,f); if (x==0, return(1)); y=x; d=digitsIn(x); t=10^(d 
               - 1); for (i=1, d\2, f=y-10*(y\10); y\=10; e=x\t; x-=t*e; t/=10; 
               if (e!=f, return(0)) ); return(1) } Rev(x)= { local(d); r=0; while 
               (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); return(r) } { n=0; for (m=1, 
               10^9, if (Palin(m*Rev(m)), write("b062936.txt", n++, " ", m); if 
               (n==500, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), 
               Aug 13 2009]
%Y A062936 Cf. A048344, A048343.
%Y A062936 Sequence in context: A116032 A116029 A060812 this_sequence A136972 A135115 
               A107402
%Y A062936 Adjacent sequences: A062933 A062934 A062935 this_sequence A062937 A062938 
               A062939
%K A062936 nonn,base,easy
%O A062936 1,2
%A A062936 Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jul 05 2001
%E A062936 Corrected and extended by Dean Hickerson (dean.hickerson(AT)yahoo.com) 
               and Patrick De Geest, Jul 06, 2001

    
page 1

Search completed in 0.001 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research