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.

A337184 Numbers divisible by their first digit and their last digit.

This page as a plain text file.
%I A337184 #54 Dec 03 2024 11:47:41
%S A337184 1,2,3,4,5,6,7,8,9,11,12,15,22,24,33,36,44,48,55,66,77,88,99,101,102,
%T A337184 104,105,111,112,115,121,122,123,124,125,126,128,131,132,135,141,142,
%U A337184 144,145,147,151,152,153,155,156,161,162,164,165,168,171,172,175,181,182
%N A337184 Numbers divisible by their first digit and their last digit.
%C A337184 The first 23 terms are the same first 23 terms of A034838 then a(24) = 101 while A034838(24) = 111.
%C A337184 Terms of A034709 beginning with 1 and terms of A034837 ending with 1 are terms.
%C A337184 All positive repdigits (A010785) are terms.
%C A337184 There are infinitely many terms m for any of the 53 pairs (first digit, last digit) of m described below: when m begins with {1, 3, 7, 9} then m ends with any digit from 1 to 9; when m begins with {2, 4, 6, 8}, then m must also end with {2, 4, 6, 8}; to finish, when m begins with 5, m must only end with 5. - _Metin Sariyar_, Jan 29 2021
%H A337184 David A. Corneth, <a href="/A337184/b337184.txt">Table of n, a(n) for n = 1..10000</a>
%H A337184 <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a>.
%F A337184 (10n-9)/9 <= a(n) < 45n. (I believe the liminf of a(n)/n is 3.18... and the limsup is 6.18....) - _Charles R Greathouse IV_, Nov 26 2024
%F A337184 Conjecture: 3n < a(n) < 7n for n > 75. - _Charles R Greathouse IV_, Dec 02 2024
%t A337184 Select[Range[175], Mod[#, 10] > 0 && And @@ Divisible[#, IntegerDigits[#][[{1, -1}]]] &] (* _Amiram Eldar_, Jan 29 2021 *)
%o A337184 (Python)
%o A337184 def ok(n): s = str(n); return s[-1] != '0' and n%int(s[0])+n%int(s[-1]) == 0
%o A337184 print([m for m in range(180) if ok(m)]) # _Michael S. Branicky_, Jan 29 2021
%o A337184 (PARI) is(n) = n%10>0 && n%(n%10)==0 && n % (n\10^logint(n,10)) == 0 \\ _David A. Corneth_, Jan 29 2021
%Y A337184 Intersection of A034709 and A034837.
%Y A337184 Subsequences: A010785\{0}, A034838, A043037, A043040, A208259, A066622.
%Y A337184 Cf. A139138.
%K A337184 nonn,base,easy
%O A337184 1,2
%A A337184 _Bernard Schott_, Jan 29 2021