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.

Showing 1-3 of 3 results.

A015922 Numbers k such that 2^k == 8 (mod k).

Original entry on oeis.org

1, 2, 3, 4, 8, 9, 15, 21, 33, 39, 51, 57, 63, 69, 87, 93, 111, 123, 129, 141, 159, 177, 183, 195, 201, 213, 219, 237, 248, 249, 267, 291, 303, 309, 315, 321, 327, 339, 381, 393, 399, 411, 417, 447, 453, 471, 489, 501, 519, 537, 543, 573, 579, 591, 597, 633
Offset: 1

Views

Author

Keywords

Comments

For all m, 2^A015921(m) - 1 belongs to this sequence.

Crossrefs

Contains A033553 as a subsequence.
The odd terms form A276967.

Programs

  • Mathematica
    a015922Q[n_Integer] := If[Mod[2^n, n] == Mod[8, n], True, False];
    a015922[n_Integer] :=
    Flatten[Position[Thread[a015922Q[Range[n]]], True]];
    a015922[1000000] (* Michael De Vlieger, Jul 16 2014 *)
    m = 8; Join[Select[Range[m], Divisible[2^# - m, #] &], Select[Range[m + 1, 10^3], PowerMod[2, #, #] == m &]] (* Robert Price, Oct 12 2018 *)
    Join[{1,2,3,4,8},Select[Range[650],PowerMod[2,#,#]==8&]] (* Harvey P. Dale, Aug 22 2020 *)
  • PARI
    isok(n) = Mod(2, n)^n == Mod(8, n); \\ Michel Marcus, Oct 13 2013, Jul 16 2014

Extensions

First 5 terms inserted by David W. Wilson

A130134 Even terms in A015922.

Original entry on oeis.org

2, 4, 8, 248, 17608, 90148, 106978, 253828, 364808, 1642798, 1926088, 6176264, 21879938, 30484408, 34634428, 96593698, 134396408, 223622468, 283585928, 327327388, 457961188, 809965148, 1709420344, 1815124028, 2164392968, 2360006456, 2431619908, 2500777828, 2922255548, 3888155428, 5672481928
Offset: 1

Views

Author

Zak Seidov, May 12 2007

Keywords

Comments

Also, the even terms of A033554.

Crossrefs

Programs

  • PARI
    isok(n) = !(n % 2) && (Mod(2^n, n) == Mod(8, n)); \\ Michel Marcus, Oct 13 2013

Extensions

a(8)-a(9) from Michel Marcus, Oct 13 2013
Terms a(10) onward from Max Alekseyev, Oct 11 2016

A277344 3-Knödel numbers (A033553) that are not divisible by 3.

Original entry on oeis.org

50963, 5834755, 9835843, 155627923, 245056003, 332852435, 556268443, 724014203, 795650963, 831912763, 2440444163, 4080848203, 5067702643, 5140068643, 5555216803, 7461332483, 8438160643, 11766788323, 11951765003, 13058213003, 13483943203, 14528402983, 16644521435, 17847852803
Offset: 1

Views

Author

Max Alekseyev, Oct 09 2016

Keywords

Crossrefs

Intersection of A033553 and A242865.
Intersection of A033553 and A130133.
Subsequence of A015922.
Showing 1-3 of 3 results.