cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A163122 Composite numbers for which the sum of proper divisors equals the sum of the digit-reversed proper divisors.

This page as a plain text file.
%I A163122 #11 Oct 12 2023 12:34:35
%S A163122 4,6,8,9,10,12,14,15,16,18,21,22,25,27,33,35,44,49,55,66,77,88,99,121,
%T A163122 202,242,262,302,303,362,363,382,393,403,404,453,484,505,524,543,573,
%U A163122 605,606,626,655,689,706,707,726,746,755,766,783,786,808,840,847,905
%N A163122 Composite numbers for which the sum of proper divisors equals the sum of the digit-reversed proper divisors.
%H A163122 Harvey P. Dale, <a href="/A163122/b163122.txt">Table of n, a(n) for n = 1..1000</a>
%F A163122 {n : n in A002808, and A001065(n) = A069250(n)}. - _R. J. Mathar_, Jul 27 2009
%e A163122 840 is in the sequence: the sum of its proper divisors is
%e A163122 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 10 + 12 + 14 + 15 + 20 + ... + 280 + 420 = A001065(840) = 2040,
%e A163122 and the sum of the reversed proper divisors is
%e A163122 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 1 + 21 + 41 + 51 + 2 + ... + 82 + 24 = A069250(840) = 2040.
%p A163122 read("transforms") ; A001065 := proc(n) numtheory[sigma](n)-n ; end:
%p A163122 A069250 := proc(n) local pdvs ,a,d ; pdvs := numtheory[divisors](n) minus {n} ; a := 0 ; for d in pdvs do a := a+digrev(d) ; od: a ; end:
%p A163122 for n from 4 to 1000 do if not isprime(n) and A001065(n) = A069250(n) then printf("%d,",n) ; fi; od: # _R. J. Mathar_, Jul 27 2009
%t A163122 Select[Range[1000],CompositeQ[#]&&DivisorSigma[1,#]-#==Total[IntegerReverse/@ Most[ Divisors[ #]]]&] (* _Harvey P. Dale_, Oct 12 2023 *)
%K A163122 nonn,base
%O A163122 1,1
%A A163122 _Claudio Meller_, Jul 21 2009
%E A163122 Keyword:base added by _R. J. Mathar_, Jul 27 2009