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.

A248339 a(n) = 22*n + 19.

Original entry on oeis.org

19, 41, 63, 85, 107, 129, 151, 173, 195, 217, 239, 261, 283, 305, 327, 349, 371, 393, 415, 437, 459, 481, 503, 525, 547, 569, 591, 613, 635, 657, 679, 701, 723, 745, 767, 789, 811, 833, 855, 877, 899, 921, 943, 965, 987, 1009
Offset: 0

Views

Author

Karl V. Keller, Jr., Oct 05 2014

Keywords

Comments

These are the odd numbers in A017485.
Solutions to 11^x + 13^x == 17 mod 23.
A141855 is the subsequence of primes.

Examples

			For n = 4, 22*4 + 19 = 107.
		

Crossrefs

Cf. A017485 (11*n+8), A141855.

Programs

  • Magma
    [22*n+19: n in [0..60]]; // G. C. Greubel, Nov 13 2024
  • Mathematica
    22*Range[0,50]+19 (* or *) LinearRecurrence[{2,-1},{19,41},50] (* Harvey P. Dale, Dec 20 2014 *)
  • PARI
    Vec((3*x+19)/(x-1)^2 + O(x^100)) \\ Colin Barker, Oct 05 2014
    
  • Python
    for n in range(101):
        print(22*n+19,end=', ')
    

Formula

a(n) = 22*n + 19.
From Colin Barker, Oct 05 2014: (Start)
a(n) = 2*a(n-1) - a(n-2).
G.f.: (19 + 3*x) / (1-x)^2. (End)
E.g.f.: (19 + 22*x)*exp(x). - G. C. Greubel, Nov 13 2024