Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067032
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A067032
%S A067032 1,1,1,1,1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,1,9,9,7,1,6,5,1,4,3,1,2,1,1,2,1,
%T A067032 2,1,2,1,2,1,2,2,3,2,3,2,3,2,3,2,3,3,4,3,4,3,4,3,4,3,4,4,5,4,5,4,5,4,5,
%U A067032 4,5,5,6,5,6,5,6,5,6,5,6,6,7,6,7,6,7,6,7,6,7,7,8,7,8,7,8,7,8,7,8,8,9,8
%N A067032 Number of k's such that A067030(n) = k + reverse(k).
%e A067032 a(12) = 3 since A067030(12) = 33 and for k = 12, 21, 30 we have 33 = 
               k + reverse(k).
%o A067032 (ARIBAS): function a067032(a,b: integer); var n,k,c,i,rev: integer; st,
               nst: string; begin for n := a to b do k := 0; c := 0; while k <= 
               n do st := itoa(k); nst := ""; for i := 0 to length(st) - 1 do nst 
               := concat(st[i],nst); end; rev := atoi(nst); if n = k + rev then 
               inc(c); end; inc(k); end; if c > 0 then write(c,","); end; end; end; 
               a067032(0,1000);.
%Y A067032 Cf. A033865, A067030, A067031, A067033, A067034.
%Y A067032 Sequence in context: A113009 A068064 A152147 this_sequence A052500 A047813 
               A084051
%Y A067032 Adjacent sequences: A067029 A067030 A067031 this_sequence A067033 A067034 
               A067035
%K A067032 base,easy,nonn
%O A067032 0,12
%A A067032 Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Dec 29 2001

    
page 1

Search completed in 0.002 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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research