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.

User: Marco Matosic

Marco Matosic's wiki page.

Marco Matosic has authored 50 sequences. Here are the ten most recent ones:

A291943 a(0)=0; for n>0, a(n) = (2n)-th digit after the decimal point in the decimal expansion of 1/(2n+1).

Original entry on oeis.org

0, 3, 0, 7, 1, 9, 3, 6, 7, 1, 4, 3, 0, 3, 1, 9, 3, 5, 7, 2, 9, 3, 2, 7, 8, 1, 3, 1, 1, 1, 9, 1, 3, 7, 1, 9, 3, 3, 9, 1, 7, 3, 7, 1, 1, 9, 1, 5, 7, 1, 9, 3, 0, 7, 1, 0, 3, 6, 0, 0, 8, 0, 0, 7, 0, 9, 8, 0, 7, 1, 0, 9, 8, 4, 1, 9, 4, 4, 7, 0, 6, 3, 0, 7, 3, 5, 3, 4, 0, 1, 9, 0, 4, 5, 0, 9, 3, 0, 7, 1
Offset: 0

Author

Marco Matosic, Sep 06 2017

Keywords

Examples

			a(3)=7 since we want the sixth decimal digit of 1/7.
		

References

  • John H. Conway & Richard K. Guy, The Book of Numbers; Springer 1996.

Programs

  • Maple
    f:= proc(n) floor(10^(2*n)/(2*n+1)) mod 10 end proc:
    f(0):= 0:
    map(f, [$0..100]); # Robert Israel, Oct 31 2017
  • Mathematica
    f[n_] := Mod[Floor[10^(2n)/(2n +1)], 10]; f[0] = 0; Array[f, 105, 0] (* Robert G. Wilson v, Oct 31 2017 *)

Extensions

Edited by N. J. A. Sloane, Oct 30 2017
a(82) corrected by Robert Israel, Oct 31 2017

A186296 ( A007520(n)+1 )/2.

Original entry on oeis.org

2, 6, 10, 22, 30, 34, 42, 54, 66, 70, 82, 90, 106, 114, 126, 142, 154, 166, 174, 190, 210, 222, 234, 246, 250, 262, 274, 282, 286, 294, 310, 322, 330, 342, 346, 370, 394, 406, 414, 430, 442, 454, 474, 486, 510, 526, 546, 562, 582, 586, 594
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Formula

a(n) = A186297(n)+1.

A186299 (A007521(n)-1)/2.

Original entry on oeis.org

2, 6, 14, 18, 26, 30, 50, 54, 74, 78, 86, 90, 98, 114, 134, 138, 146, 158, 174, 186, 194, 198, 210, 230, 254, 270, 278, 306, 326, 330, 338, 350, 354, 366, 378, 386, 398, 410, 414, 426, 438, 470, 498, 506, 510, 530, 534, 546, 554, 558, 590, 606
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Formula

a(n) = A186300(n)-1.

A186300 (A007521(n)+1)/2.

Original entry on oeis.org

3, 7, 15, 19, 27, 31, 51, 55, 75, 79, 87, 91, 99, 115, 135, 139, 147, 159, 175, 187, 195, 199, 211, 231, 255, 271, 279, 307, 327, 331, 339, 351, 355, 367, 379, 387, 399, 411, 415, 427, 439, 471, 499, 507, 511, 531, 535, 547, 555, 559, 591, 607
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Formula

a(n) = A186299(n)+1.

A186293 (A007519(n)-1)/2.

Original entry on oeis.org

8, 20, 36, 44, 48, 56, 68, 96, 116, 120, 128, 140, 156, 168, 176, 200, 204, 216, 224, 228, 260, 284, 288, 296, 300, 308, 320, 336, 380, 384, 404, 428, 440, 464, 468, 476, 488, 504, 516, 524, 548, 564, 576, 596, 600, 608
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Crossrefs

Cf. A186305.

Programs

Formula

a(n) = A186294(n)-1.
a(n) = 4*A005123(n).

A186305 n^((p-1)/2) (mod p) for p = 29.

Original entry on oeis.org

0, 1, 28, 28, 1, 1, 1, 1, 28, 1, 28, 28, 28, 1, 28, 28, 1, 28, 28, 28, 1, 28, 1, 1, 1, 1, 28, 28, 1, 0, 1, 28, 28, 1, 1, 1, 1, 28, 1, 28, 28, 28, 1, 28, 28, 1, 28, 28, 28, 1, 28, 1, 1, 1, 1, 28, 28, 1, 0, 1, 28, 28, 1, 1, 1, 1, 28, 1, 28, 28, 28, 1, 28, 28, 1, 28
Offset: 0

Author

Marco Matosic, Feb 17 2011

Keywords

Crossrefs

Programs

  • Mathematica
    p = 29; Table[PowerMod[n, (p-1)/2, p], {n, 0, 100}]

A186294 (A007519(n)+1)/2.

Original entry on oeis.org

9, 21, 37, 45, 49, 57, 69, 97, 117, 121, 129, 141, 157, 169, 177, 201, 205, 217, 225, 229, 261, 285, 289, 297, 301, 309, 321, 337, 381, 385, 405, 429, 441, 465, 469, 477, 489, 505, 517, 525, 549, 565, 577, 597, 601, 609, 625, 645, 649, 661, 681
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Programs

  • PARI
    isok(n) = (n % 4 == 1) && isprime(2*n-1) \\ Michel Marcus, Jul 16 2013

Extensions

More terms from Michel Marcus, Jul 16 2013

A186295 A007519(n)-2.

Original entry on oeis.org

15, 39, 71, 87, 95, 111, 135, 191, 231, 239, 255, 279, 311, 335, 351, 399, 407, 431, 447, 455, 519, 567, 575, 591, 599, 615, 639, 671, 759, 767, 807, 855, 879, 927, 935, 951, 975, 1007, 1031, 1047, 1095, 1127, 1151, 1191, 1199, 1215
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Programs

  • PARI
    isok(n) = isprime(p=n+2) && (p % 8 == 1) \\ Michel Marcus, Jul 16 2013

Formula

a(n) = 2*A186294(n) - 3. - Michel Marcus, Jul 16 2013

A186298 A007520(n)-2.

Original entry on oeis.org

1, 9, 17, 41, 57, 65, 81, 105, 129, 137, 161, 177, 209, 225, 249, 281, 305, 329, 345, 377, 417, 441, 465, 489, 497, 521, 545, 561, 569, 585, 617, 641, 657, 681, 689, 737, 785, 809, 825, 857, 881, 905, 945, 969, 1017, 1049, 1089, 1121, 1161, 1169, 1185
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Programs

  • PARI
    isok(n) = isprime(n+2) && (n % 8 == 1) \\ Michel Marcus, Jul 16 2013

A186301 a(n) = A007521(n) - 2.

Original entry on oeis.org

3, 11, 27, 35, 51, 59, 99, 107, 147, 155, 171, 179, 195, 227, 267, 275, 291, 315, 347, 371, 387, 395, 419, 459, 507, 539, 555, 611, 651, 659, 675, 699, 707, 731, 755, 771, 795, 819, 827, 851, 875, 939, 995, 1011, 1019, 1059, 1067, 1091, 1107, 1115, 1179, 1211
Offset: 1

Author

Marco Matosic, Feb 17 2011

Keywords

Crossrefs

Cf. A007521.

Extensions

a(52) corrected by Georg Fischer, Jun 27 2020