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.

A359841 Integers Xd which are divisible by X, where d is the last decimal digit.

Original entry on oeis.org

10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 33, 36, 39, 40, 44, 48, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420
Offset: 1

Views

Author

Bernard Schott, Jan 15 2023

Keywords

Comments

Integers k such that k is divisible by A059995(k).
This sequence consists of {the thirty-two 2-digit terms of A034837 (from 10 up to 99)} Union {the positive multiples of 10 (A008592\{0})}.

Crossrefs

Cf. A034837, A059995, A178157, A292683 (similar but with dX).
Subsequence: A008592\{0}.

Programs

  • Mathematica
    Select[Range[10, 500], Divisible[#, Floor[#/10]] &] (* Amiram Eldar, Jan 15 2023 *)
  • PARI
    isok(k) = (k>9) && (k % (k \ 10) == 0); \\ Michel Marcus, Jan 20 2023
  • Python
    def ok(n): return n > 9 and n%(n//10) == 0
    print([k for k in range(421) if ok(k)]) # Michael S. Branicky, Jan 15 2023
    
  • Python
    def A359841(n): return (10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 26, 28, 30, 33, 36, 39, 40, 44, 48, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99)[n-1] if n <= 32 else (n-23)*10 # Chai Wah Wu, Jan 20 2023