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-10 of 107 results. Next

A191702 Dispersion of A008587 (5,10,15,20,25,30,...), by antidiagonals.

Original entry on oeis.org

1, 5, 2, 25, 10, 3, 125, 50, 15, 4, 625, 250, 75, 20, 6, 3125, 1250, 375, 100, 30, 7, 15625, 6250, 1875, 500, 150, 35, 8, 78125, 31250, 9375, 2500, 750, 175, 40, 9, 390625, 156250, 46875, 12500, 3750, 875, 200, 45, 11, 1953125, 781250, 234375, 62500, 18750
Offset: 1

Views

Author

Clark Kimberling, Jun 12 2011

Keywords

Comments

For a background discussion of dispersions and their fractal sequences, see A191426. For dispersions of congruence sequences mod 3 or mod 4, see A191655, A191663, A191667.
...
Each of the sequences (5n, n>1), (5n+1, n>1), (5n+2, n>=0), (5n+3, n>=0), (5n+4, n>=0), generates a dispersion. Each complement (beginning with its first term >1) also generates a dispersion. The ten sequences and dispersions are listed here:
...
A191702=dispersion of A008587 (5k, k>=1)
A191703=dispersion of A016861 (5k+1, k>=1)
A191704=dispersion of A016873 (5k+2, k>=0)
A191705=dispersion of A016885 (5k+3, k>=0)
A191706=dispersion of A016897 (5k+4, k>=0)
A191707=dispersion of A047201 (1, 2, 3, 4 mod 5 and >1)
A191708=dispersion of A047202 (0, 2, 3, 4 mod 5 and >1)
A191709=dispersion of A047207 (0, 1, 3, 4 mod 5 and >1)
A191710=dispersion of A032763 (0, 1, 2, 4 mod 5 and >1)
A191711=dispersion of A001068 (0, 1, 2, 3 mod 5 and >1)
...
EXCEPT for at most 2 initial terms (so that column 1 always starts with 1):
A191702 has 1st col A047201, all else A008587
A191703 has 1st col A047202, all else A016861
A191704 has 1st col A047207, all else A016873
A191705 has 1st col A032763, all else A016885
A191706 has 1st col A001068, all else A016897
A191707 has 1st col A008587, all else A047201
A191708 has 1st col A042968, all else A047203
A191709 has 1st col A042968, all else A047207
A191710 has 1st col A042968, all else A032763
A191711 has 1st col A042968, all else A001068
...
Regarding the dispersions A191670-A191673, there is a formula for sequences of the type
"(a or b or c or d mod m)", used in Mathematica programs for A191707-A191711): if f(n)=(n mod 3), then
(a,b,c,d,a,b,c,d,a,b,c,d,...) is given by
a*f(n+3)+b*f(n+2)+c*f(n+1)+d*f(n), so that for n>=1,
"(a, b, c, d mod m)" is given by
a*f(n+3)+b*f(n+2)+c*f(n+1)+d*f(n)+m*floor((n-1)/4)).

Examples

			Northwest corner:
  1...5....25....125...625
  2...10...50....250...1250
  3...15...75....375...1875
  4...20...100...500...2500
  6...30...150...750...3750
		

Crossrefs

Programs

  • Mathematica
    (* Program generates the dispersion array T of the increasing sequence f[n] *)
    r = 40; r1 = 12;  c = 40; c1 = 12;
    f[n_] := 5n
    Table[f[n], {n, 1, 30}]  (* A008587 *)
    mex[list_] := NestWhile[#1 + 1 &, 1, Union[list][[#1]] <= #1 &, 1, Length[Union[list]]]
    rows = {NestList[f, 1, c]};
    Do[rows = Append[rows, NestList[f, mex[Flatten[rows]], r]], {r}];
    t[i_, j_] := rows[[i, j]];
    TableForm[Table[t[i, j], {i, 1, 10}, {j, 1, 10}]]
    (* A191702 *)
    Flatten[Table[t[k, n - k + 1], {n, 1, c1}, {k, 1, n}]] (* A191702  *)

Formula

T(i,j) = T(i,1)*T(1,j) = (i-1+floor((i+3)/4))*5^(j-1), i>=1, j>=1.

A186495 Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=5i (A008587) and g(j)=j-th pentagonal number (A000326). Complement of A186496.

Original entry on oeis.org

3, 4, 6, 7, 9, 10, 12, 13, 14, 15, 17, 18, 19, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 60, 61, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 138, 139, 140
Offset: 1

Views

Author

Clark Kimberling, Feb 22 2011

Keywords

Examples

			First, write
...5..10..15..20..25..30..35..40... (5i),
1..5......12......22............35..(pentagonal numbers).
Then replace each number by its rank, where ties are settled by ranking 5i after the pentagonal number:
a=(3,4,6,7,9,10,12,13,14,15,17,...)=A186495,
b=(1,2,5,8,11,16,20,26,32,38,46,..)=A186496.
		

Crossrefs

Programs

  • Mathematica
    (* Adjusted joint rank sequences a and b, using general formula for ranking 1st degree u*n+v and 2nd degree x*n^2+y*n+z. *)
    d=-1/2; u=5; v=0; x=3/2; y=-1/2;
    h[n_]:=(-y+(4x(u*n+v-d)+y^2)^(1/2))/(2x);
    a[n_]:=n+Floor[h[n]];
    k[n_]:=(x*n^2+y*n-v+d)/u;
    b[n_]:=n+Floor[k[n]];
    Table[a[n],{n,1,120}]  (* A186495 *)
    Table[b[n],{n,1,100}]  (* A186496 *)

A048729 Differences between A008587 (multiples of 5) and A048725.

Original entry on oeis.org

0, 0, 0, 0, 0, 8, 0, 8, 0, 0, 16, 16, 0, 8, 16, 24, 0, 0, 0, 0, 32, 40, 32, 40, 0, 0, 16, 16, 32, 40, 48, 56, 0, 0, 0, 0, 0, 8, 0, 8, 64, 64, 80, 80, 64, 72, 80, 88, 0, 0, 0, 0, 32, 40, 32, 40, 64, 64, 80, 80, 96, 104, 112, 120, 0
Offset: 0

Views

Author

Antti Karttunen, Apr 26 1999

Keywords

Crossrefs

Positions of zeros are given by A048716.
Diagonal 5 of A061858.

Formula

a(n) = ((n*5)-Xmult(n, 5))

A233348 Numbers n such that 3*n+2 and 3*n-2 are both prime for n multiple of 5 (A008587).

Original entry on oeis.org

5, 15, 35, 55, 65, 75, 105, 155, 205, 215, 225, 275, 285, 295, 365, 405, 435, 475, 495, 555, 565, 595, 625, 665, 695, 735, 765, 825, 895, 945, 985, 1055, 1085, 1115, 1155, 1205, 1225, 1265, 1315, 1335, 1385, 1505, 1595, 1605, 1645, 1745, 1805, 1835, 1885
Offset: 1

Views

Author

César Aguilera, Dec 07 2013

Keywords

Examples

			For n=15; 3*15+2=47 and 3*15-2=43.
		

Crossrefs

Cf. A157834 (n such that 3n-2 and 3n+2 are both prime).

Programs

  • Mathematica
    Select[5*Range[500], PrimeQ[3 # + 2] && PrimeQ[3 # - 2] &] (* T. D. Noe, Dec 09 2013 *)

Formula

Intersection of A008587 and A157834.

A008592 Multiples of 10: a(n) = 10*n.

Original entry on oeis.org

0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300, 310, 320, 330, 340, 350, 360, 370, 380, 390, 400, 410, 420, 430, 440, 450, 460, 470, 480, 490, 500, 510, 520, 530
Offset: 0

Views

Author

Keywords

Comments

Number of 3 X n binary matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (00;1), (01,1) and (11;0). An occurrence of a ranpp (xy;z) in a matrix A=(a(i,j)) is a triple (a(i1,j1), a(i1,j2), a(i2,j1)) where i11 and n>1. - Sergey Kitaev, Nov 12 2004
If Y is a 5-subset of an n-set X then, for n>=5, a(n-4) is the number of 3-subsets of X having at least two elements in common with Y. - Milan Janjic, Dec 08 2007
Complement of A067251; A168184(a(n)) = 0. - Reinhard Zumkeller, Nov 30 2009
Where record values occur for the number of partitions of n into powers of 10: A179052(n) = A179051(a(n)). - Reinhard Zumkeller, Jun 27 2010
Numbers ending in 0. - Wesley Ivan Hurt, Apr 10 2016

Crossrefs

Programs

Formula

From Vincenzo Librandi, Dec 24 2010: (Start)
G.f.: 10*x/(x-1)^2.
a(n) = 2*a(n-1) - a(n-2) for n > 1. (End)
a(n) = Sum_{i=2n-2..2n+2} i. - Wesley Ivan Hurt, Apr 11 2016
E.g.f.: 10*x*exp(x). - Stefano Spezia, May 31 2021

A008589 Multiples of 7.

Original entry on oeis.org

0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 105, 112, 119, 126, 133, 140, 147, 154, 161, 168, 175, 182, 189, 196, 203, 210, 217, 224, 231, 238, 245, 252, 259, 266, 273, 280, 287, 294, 301, 308, 315, 322, 329, 336, 343, 350, 357, 364, 371, 378
Offset: 0

Views

Author

N. J. A. Sloane, Mar 15 1996

Keywords

Comments

Also the Engel expansion of exp(1/7); cf. A006784 for the Engel expansion definition. - Benoit Cloitre, Mar 03 2002
Complement of A047304; A082784(a(n))=1; A109720(a(n))=0. - Reinhard Zumkeller, Nov 30 2009
The most likely sum of digits to occur when randomly tossing n pairs of (fair) six-sided dice. - Dennis P. Walsh, Jan 26 2012

Examples

			For n=2, a(2)=14 because 14 is the most likely sum (of the possible sums 4, 5, ..., 24) to occur when tossing 2 pairs of six-sided dice. - _Dennis P. Walsh_, Jan 26 2012
		

Crossrefs

Programs

Formula

(floor(a(n)/10) - 2*(a(n) mod 10)) == 0 modulo 7, see A076309. - Reinhard Zumkeller, Oct 06 2002
a(n) = 7*n = 2*a(n-1)-a(n-2); G.f.: 7*x/(x-1)^2. - Vincenzo Librandi, Dec 24 2010
E.g.f.: 7*x*exp(x). - Ilya Gutkovskiy, May 11 2016

A016861 a(n) = 5*n + 1.

Original entry on oeis.org

1, 6, 11, 16, 21, 26, 31, 36, 41, 46, 51, 56, 61, 66, 71, 76, 81, 86, 91, 96, 101, 106, 111, 116, 121, 126, 131, 136, 141, 146, 151, 156, 161, 166, 171, 176, 181, 186, 191, 196, 201, 206, 211, 216, 221, 226, 231, 236, 241, 246, 251, 256, 261, 266, 271, 276, 281
Offset: 0

Views

Author

N. J. A. Sloane, Dec 11 1996

Keywords

Comments

Numbers ending in 1 or 6.
Apart from initial terms, same as 5n-14.
Complement of A047203; A027445(a(n)) mod 10 = 4. - Reinhard Zumkeller, Oct 23 2006
Campbell reference shows: "A graph on n vertices with at least 4n-9 edges is intrinsically linked. A graph on n vertices with at least 5n-14 edges is intrinsically knotted." - Jonathan Vos Post, Jan 18 2007
Central terms of the triangle in A153125: a(n) = A153125(2*n+1, n+1). - Reinhard Zumkeller, Dec 20 2008
For n > 2, also the number of (not necessarily maximal) cliques in the n-Moebius ladder graph. - Eric W. Weisstein, Nov 29 2017
For n > 3, also the number of (not necessarily maximal) cliques in the n-prism graph. - Eric W. Weisstein, Nov 29 2017
For n >= 1, a(n) is the size of any hexagonal chain graph with n cells. - Christian Barrientos, Sarah Minion, Mar 07 2018
For n >= 1, a(n) is the number of possible outcomes of the summation when using n dice. - Bram Kole, Dec 24 2018
Numbers congruent to 1 (mod 5). - Muniru A Asiru, Jan 01 2019
Numbers k such that the k-th Fibonacci number, A000045(k), and the k-th Lucas number, A000032(k), end with the same decimal digit. - Amiram Eldar, Apr 15 2023

Crossrefs

Cf. A093562 ((5, 1) Pascal, column m=1).
Cf. A000566 (partial sums).

Programs

Formula

G.f.: (1+4*x)/(1-x)^2.
Row sums of triangle A131843. - Gary W. Adamson, Jul 21 2007
a(n) = 2*a(n-1) - a(n-2) with a(0)=1, a(1)=6. - Vincenzo Librandi, Aug 01 2010
a(n) = A017293(n)/2 = A008587(n)+1. - Wesley Ivan Hurt, May 03 2014
E.g.f.: exp(x)*(1 + 5*x). - Stefano Spezia, Mar 23 2021
Sum_{n>=0} (-1)^n/a(n) = sqrt(2+2/sqrt(5))*Pi/10 + log(phi)/sqrt(5) + log(2)/5, where phi is the golden ratio (A001622). - Amiram Eldar, Apr 15 2023

Extensions

More terms from Reinhard Zumkeller, Oct 23 2006

A045944 Rhombic matchstick numbers: a(n) = n*(3*n+2).

Original entry on oeis.org

0, 5, 16, 33, 56, 85, 120, 161, 208, 261, 320, 385, 456, 533, 616, 705, 800, 901, 1008, 1121, 1240, 1365, 1496, 1633, 1776, 1925, 2080, 2241, 2408, 2581, 2760, 2945, 3136, 3333, 3536, 3745, 3960, 4181, 4408, 4641, 4880, 5125, 5376, 5633, 5896, 6165, 6440
Offset: 0

Views

Author

Keywords

Comments

From Floor van Lamoen, Jul 21 2001: (Start)
Write 1,2,3,4,... in a hexagonal spiral around 0, then a(n) is the n-th term of the sequence found by reading the line from 0 in the direction 0,5,.... The spiral begins:
.
85--84--83--82--81--80
. \
56--55--54--53--52 79
/ . \ \
57 33--32--31--30 51 78
/ / . \ \ \
58 34 16--15--14 29 50 77
/ / / . \ \ \ \
59 35 17 5---4 13 28 49 76
/ / / / . \ \ \ \ \
60 36 18 6 0 3 12 27 48 75
/ / / / / / / / / /
61 37 19 7 1---2 11 26 47 74
\ \ \ \ / / / /
62 38 20 8---9--10 25 46 73
\ \ \ / / /
63 39 21--22--23--24 45 72
\ \ / /
64 40--41--42--43--44 71
\ /
65--66--67--68--69--70
(End)
Connection to triangular numbers: a(n) = 4*T_n + S_n where T_n is the n-th triangular number and S_n is the n-th square. - William A. Tedeschi, Sep 12 2010
Also, second octagonal numbers. - Bruno Berselli, Jan 13 2011
Sequence found by reading the line from 0, in the direction 0, 16, ... and the line from 5, in the direction 5, 33, ..., in the square spiral whose vertices are the generalized octagonal numbers A001082. - Omar E. Pol, Jul 18 2012
Let P denote the points from the n X n grid. A(n-1) also coincides with the minimum number of points Q needed to "block" P, that is, every line segment spanned by two points from P must contain one point from Q. - Manfred Scheucher, Aug 30 2018
Also the number of internal edges of an (n+1)*(n+1) "square" of hexagons; i.e., n+1 rows, each of n+1 edge-adjacent hexagons, stacked with minimal overhang. - Jon Hart, Sep 29 2019
For n >= 1, the continued fraction expansion of sqrt(27*a(n)) is [9n+2; {1, 2n-1, 1, 1, 1, 2n-1, 1, 18n+4}]. - Magus K. Chu, Oct 13 2022

Crossrefs

Bisection of A001859. See Comments of A135713.
Cf. second n-gonal numbers: A005449, A014105, A147875, A179986, A033954, A062728, A135705.
Cf. A056109.
Cf. A003154.

Programs

Formula

O.g.f.: x*(5+x)/(1-x)^3. - R. J. Mathar, Jan 07 2008
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3), with a(0)=0, a(1)=5, a(2)=16. - Harvey P. Dale, May 06 2011
a(n) = a(n-1) + 6*n - 1 (with a(0)=0). - Vincenzo Librandi, Nov 18 2010
For n > 0, a(n)^3 + (a(n)+1)^3 + ... + (a(n)+n)^3 + 2*A000217(n)^2 = (a(n) + n + 1)^3 + ... + (a(n) + 2n)^3; see also A033954. - Charlie Marion, Dec 08 2007
a(n) = Sum_{i=0..n-1} A016969(i) for n > 0. - Bruno Berselli, Jan 13 2011
a(n) = A174709(6*n+4). - Philippe Deléham, Mar 26 2013
a(n) = A001082(2*n). - Michael Turniansky, Aug 24 2013
Sum_{n>=1} 1/a(n) = (9 + sqrt(3)*Pi - 9*log(3))/12 = 0.3794906245574721941... . - Vaclav Kotesovec, Apr 27 2016
a(n) = A002378(n) + A014105(n). - J. M. Bergot, Apr 24 2018
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi/sqrt(12) - 3/4. - Amiram Eldar, Jul 03 2020
E.g.f.: exp(x)*x*(5 + 3*x). - Stefano Spezia, Jun 08 2021
From Leo Tavares, Oct 14 2021: (Start)
a(n) = A000290(n) + 4*A000217(n). See Square Stars illustration.
a(n) = A000567(n+2) - A022144(n+1)
a(n) = A005563(n) + A001105(n).
a(n) = A056109(n) - 1. (End)
From Leo Tavares, Oct 06 2022: (Start)
a(n) = A003154(n+1) - A000567(n+1). See Split Stars illustration.
a(n) = A014105(n) + 2*A000217(n). (End)

A017329 a(n) = 10*n + 5.

Original entry on oeis.org

5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 155, 165, 175, 185, 195, 205, 215, 225, 235, 245, 255, 265, 275, 285, 295, 305, 315, 325, 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535
Offset: 0

Views

Author

Keywords

Comments

Continued fraction expansion of tanh(1/5). - Benoit Cloitre, Dec 17 2002
n such that 5 divides the numerator of B(2n) where B(2n) = the 2n-th Bernoulli number. - Benoit Cloitre, Jan 01 2004
5 times odd numbers. - Omar E. Pol, May 02 2008
5th transversal numbers (or 5-transversal numbers): Numbers of the 5th column of positive numbers in the square array of nonnegative and polygonal numbers A139600. Also, numbers of the 5th column in the square array A057145. - Omar E. Pol, May 02 2008
Successive sums: 5, 20, 45, 80, 125, ... (see A033429). - Philippe Deléham, Dec 08 2011
3^a(n) + 1 is divisible by 61. - Vincenzo Librandi, Feb 05 2013
If the initial 5 is changed to 1, giving 1,15,25,35,45,..., these are values of m such that A323288(m)/m reaches a new record high value. - N. J. A. Sloane, Jan 23 2019

References

  • A. H. Beiler, Recreations in the Theory of Numbers, Dover, NY, 1964, p. 189. - From N. J. A. Sloane, Dec 01 2012

Crossrefs

Programs

Formula

a(n) = 5*A005408(n). - Omar E. Pol, Oct 19 2008
a(n) = 20*n - a(n-1) (with a(0)=5). - Vincenzo Librandi, Nov 19 2010
G.f.: 5*(x+1)/(x-1)^2. - Colin Barker, Nov 14 2012
a(n) = A057145(n+2,5). - R. J. Mathar, Jul 28 2016
E.g.f.: 5*exp(x)*(1 + 2*x). - Stefano Spezia, Feb 14 2020
Sum_{n>=0} (-1)^n/a(n) = Pi/20. - Amiram Eldar, Dec 12 2021
From Amiram Eldar, Nov 23 2024: (Start)
Product_{n>=0} (1 - (-1)^n/a(n)) = sqrt(5-sqrt(5))/2 = sqrt(2)*sin(Pi/5) = A182007/A002193.
Product_{n>=0} (1 + (-1)^n/a(n)) = phi/sqrt(2) (A094884). (End)
a(n) = (n+3)^2 - (n-2)^2. - Alexander Yutkin, Mar 16 2025
From Elmo R. Oliveira, Apr 12 2025: (Start)
a(n) = 2*a(n-1) - a(n-2).
a(n) = A008587(2*n+1). (End)

A014106 a(n) = n*(2*n + 3).

Original entry on oeis.org

0, 5, 14, 27, 44, 65, 90, 119, 152, 189, 230, 275, 324, 377, 434, 495, 560, 629, 702, 779, 860, 945, 1034, 1127, 1224, 1325, 1430, 1539, 1652, 1769, 1890, 2015, 2144, 2277, 2414, 2555, 2700, 2849, 3002, 3159, 3320, 3485, 3654, 3827, 4004, 4185, 4370
Offset: 0

Views

Author

Keywords

Comments

If Y is a 2-subset of a 2n-set X then, for n >= 1, a(n-1) is the number of (2n-2)-subsets of X intersecting Y. - Milan Janjic, Nov 18 2007
This sequence can also be derived from 1*(2+3)=5, 2*(3+4)=14, 3*(4+5)=27, and so forth. - J. M. Bergot, May 30 2011
Consider the partitions of 2n into exactly two parts. Then a(n) is the sum of all the parts in the partitions of 2n + the number of partitions of 2n + the total number of partition parts of 2n. - Wesley Ivan Hurt, Jul 02 2013
a(n) is the number of self-intersecting points of star polygon {(2*n+3)/(n+1)}. - Bui Quang Tuan, Mar 25 2015
Bisection of A000096. - Omar E. Pol, Dec 16 2016
a(n+1) is the number of function calls required to compute Ackermann's function ack(2,n). - Olivier Gérard, May 11 2018
a(n-1) is the least denominator d > n of the best rational approximation of sqrt(n^2-2) by x/d (see example and PARI code). - Hugo Pfoertner, Apr 30 2019
The number of cells in a loose n X n+1 rectangular spiral where n is even. See loose rectangular spiral image. - Jeff Bowermaster, Aug 05 2019
a(n-1) is the dimension of the second cohomology group of 2n+1-dimensional Heisenberg Lie algebra h_{2n+1}. - Rafik Khalfi, Jan 27 2025

Examples

			a(5-1) = 44: The best approximation of sqrt(5^2-2) = sqrt(23) by x/d with d <= k is 24/5 for all k < 44, but sqrt(23) ~= 211/44 is the first improvement. - _Hugo Pfoertner_, Apr 30 2019
		

References

  • Jolley, Summation of Series, Dover (1961).

Crossrefs

Cf. A091823. See A110325 for another version.

Programs

  • Magma
    [n*(2*n+3): n in [0..50]]; // Vincenzo Librandi, Apr 25 2011
  • Maple
    A014106 := proc(n) n*(2*n+3) ; end proc: # R. J. Mathar, Feb 13 2011
    seq(k*(2*k+3), k=1..100); # Wesley Ivan Hurt, Jul 02 2013
  • Mathematica
    Table[n (2 n + 3), {n, 0, 120}] (* Michael De Vlieger, Apr 02 2015 *)
    LinearRecurrence[{3,-3,1},{0,5,14},50] (* Harvey P. Dale, Jul 21 2023 *)
  • PARI
    a(n)=2*n^2+3*n
    
  • PARI
    \\ least denominator > n in best rational approximation of sqrt(n^2-2)
    for(n=2,47,for(k=n,oo,my(m=denominator(bestappr(sqrt(n^2-2),k)));if(m>n,print1(k,", ");break(1)))) \\ Hugo Pfoertner, Apr 30 2019
    

Formula

a(n) - 1 = A091823(n). - Howard A. Landman, Mar 28 2004
A014107(-n) = a(n), A000384(n+1) = a(n)+1. - Michael Somos, Nov 06 2005
G.f.: x*(5 - x)/(1 - x)^3. - Paul Barry, Feb 27 2003
E.g.f: x*(5 + 2*x)*exp(x). - Michael Somos, Nov 06 2005
a(n) = a(n-1) + 4*n + 1, n > 0. - Vincenzo Librandi, Nov 19 2010
a(n) = 4*A000217(n) + n. - Bruno Berselli, Feb 11 2011
Sum_{n>=1} 1/a(n) = 8/9 -2*log(2)/3 = 0.4267907685155920.. [Jolley eq. 265]
Sum_{n>=1} (-1)^(n+1)/a(n) = 4/9 + log(2)/3 - Pi/6. - Amiram Eldar, Jul 03 2020
From Leo Tavares, Jan 27 2022: (Start)
a(n) = A000384(n+1) - 1. See Hex-tangles illustration.
a(n) = A014105(n) + n*2. See Second Hex-tangles illustration.
a(n) = 2*A002378(n) + n. See Ob-tangles illustration.
a(n) = A005563(n) + 2*A000217(n). See Trap-tangles illustration. (End)
Showing 1-10 of 107 results. Next