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-2 of 2 results.

A215148 a(n) = 23*n + 1.

Original entry on oeis.org

1, 24, 47, 70, 93, 116, 139, 162, 185, 208, 231, 254, 277, 300, 323, 346, 369, 392, 415, 438, 461, 484, 507, 530, 553, 576, 599, 622, 645, 668, 691, 714, 737, 760, 783, 806, 829, 852, 875, 898, 921, 944, 967, 990, 1013, 1036, 1059, 1082, 1105, 1128, 1151, 1174
Offset: 0

Views

Author

Jeremy Gardiner, Aug 04 2012

Keywords

Crossrefs

Programs

  • Magma
    I:=[1,24]; [n le 2 select I[n] else 2*Self(n-1) - Self(n-2): n in [1..30]]; // G. C. Greubel, Apr 19 2018
  • Mathematica
    Range[1, 1000, 23]
    LinearRecurrence[{2,-1}, {1,24}, 50] (* G. C. Greubel, Apr 19 2018 *)
  • PARI
    for(n=0, 50, print1(23*n + 1, ", ")) \\ G. C. Greubel, Apr 19 2018
    

Formula

From G. C. Greubel, Apr 19 2018: (Start)
a(n) = 2*a(n-1) - a(n-2).
G.f.: (1+22*x)/(1-x)^2.
E.g.f.: (23*x + 1)*exp(x). (End)

A119409 Numbers n such that 235*n + 1 is prime.

Original entry on oeis.org

4, 10, 16, 18, 22, 24, 28, 36, 42, 66, 70, 72, 88, 94, 102, 112, 120, 126, 148, 150, 154, 186, 190, 192, 196, 214, 232, 238, 240, 252, 256, 258, 268, 282, 286, 300, 318, 328, 330, 340, 352, 358, 366, 370, 372, 408, 412, 430, 436, 438, 450, 462, 472, 478, 490
Offset: 1

Views

Author

Parthasarathy Nambi, Jul 26 2006

Keywords

Examples

			If n=94 then 235*n + 1 = 22091 (prime).
		

Crossrefs

Programs

Extensions

More terms from Stefan Steinerberger, Jul 26 2006
Showing 1-2 of 2 results.