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.

A277258 Numbers such that n+R(n) | n*R(n), where R(n) is the digits reverse of n.

This page as a plain text file.
%I A277258 #19 Oct 19 2016 07:59:15
%S A277258 2,4,6,8,22,44,66,88,110,132,198,202,212,220,222,231,232,242,252,262,
%T A277258 264,272,282,292,297,330,396,404,414,424,434,440,444,454,462,464,474,
%U A277258 484,494,495,550,594,606,616,626,636,646,656,660,666,676,686,693,696,770
%N A277258 Numbers such that n+R(n) | n*R(n), where R(n) is the digits reverse of n.
%C A277258 This sequence contains all positive terms of A029951. So the sequence is infinite. - _Altug Alkan_, Oct 07 2016
%H A277258 Paolo P. Lava, <a href="/A277258/b277258.txt">Table of n, a(n) for n = 1..1000</a>
%e A277258 R(132) = 231, (132 * 231) / (132 + 231) = 30492 / 363 = 84.
%p A277258 R:=proc(w) local x, y, z; x:=w; y:=0; for z from 1 to ilog10(x)+1 do y:=10*y+(x mod 10); x:=trunc(x/10); od; y; end: P:= proc(q) local n; for n from 1 to q do if type(n*R(n)/(n+R(n)),integer) then print(n); fi; od; end: P(10^4);
%t A277258 Select[Range@ 770, Function[r, Mod[# r, # + r] == 0]@ FromDigits@ Reverse@ IntegerDigits@ # &] (* _Michael De Vlieger_, Oct 14 2016 *)
%o A277258 (PARI) R(n) = eval(concat(Vecrev(Str(n))));
%o A277258 isok(n) = n*R(n) % (n+R(n)) == 0; \\ _Michel Marcus_, Oct 15 2016
%Y A277258 Cf. A004086, A029951, A056964, A061205, A131058.
%K A277258 nonn,easy,base
%O A277258 1,1
%A A277258 _Paolo P. Lava_, Oct 07 2016