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.

A166389 Multiples of 7 whose reversal + 1 is also a multiple of 7.

This page as a plain text file.
%I A166389 #17 Aug 16 2024 16:05:36
%S A166389 14,84,140,147,231,238,322,329,392,399,413,483,504,574,665,756,840,
%T A166389 847,931,938,1043,1134,1225,1295,1316,1386,1400,1407,1470,1477,1561,
%U A166389 1568,1652,1659,1743,1834,1925,1995,2044,2135,2226,2296,2310,2317,2380,2387
%N A166389 Multiples of 7 whose reversal + 1 is also a multiple of 7.
%H A166389 G. C. Greubel, <a href="/A166389/b166389.txt">Table of n, a(n) for n = 1..10000</a>
%t A166389 Select[7 Range[6!], Divisible[FromDigits[Reverse[IntegerDigits[#]]] + 1, 7] &] (* _G. C. Greubel_, May 12 2016 *)
%t A166389 Select[7Range[400],Mod[IntegerReverse[#]+1,7]==0&] (* _Harvey P. Dale_, Aug 16 2024 *)
%o A166389 (PARI) isok(n) = !(n%7) && !((subst(Polrev(digits(n)),x,10)+1) % 7); \\ _Michel Marcus_, May 12 2016
%Y A166389 Subsequence of A008589.
%K A166389 nonn,base
%O A166389 1,1
%A A166389 _Claudio Meller_, Oct 13 2009