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.

A153519 Nonprime numbers k such that 10^k == 10 (mod k) and are not Carmichael numbers.

Original entry on oeis.org

1, 6, 9, 10, 15, 18, 30, 33, 45, 55, 90, 91, 99, 165, 246, 259, 370, 385, 451, 481, 495, 505, 657, 703, 715, 909, 1035, 1045, 1233, 1626, 2035, 2409, 2981, 3333, 3367, 3585, 4005, 4141, 4187, 4521, 4545, 5005, 5461, 6533, 6541, 6565, 7107, 7471, 7777, 8149
Offset: 1

Views

Author

Artur Jasinski, Dec 28 2008

Keywords

Comments

Old name: Members of A121014 which are not Carmichael numbers A002997.

Crossrefs

Programs

  • Mathematica
    Select[Range[8000], !PrimeQ[#] && PowerMod[10, #, #] == Mod[10, #] && !(# > 1 && Divisible[# - 1, CarmichaelLambda[#]]) &] (* Amiram Eldar, Mar 19 2020 *)
  • PARI
    isok(n) = !isprime(n) && !is_A002997(n) && (Mod(10^n, n) == Mod(10, n)); \\ Michel Marcus, Nov 06 2013

Extensions

New name from Michel Marcus, Nov 06 2013