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.

Previous Showing 31-34 of 34 results.

A293879 Numbers having '19' as substring of their digits.

Original entry on oeis.org

19, 119, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 219, 319, 419, 519, 619, 719, 819, 919, 1019, 1119, 1190, 1191, 1192, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 1219, 1319, 1419, 1519, 1619, 1719, 1819, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911
Offset: 1

Views

Author

M. F. Hasler, Oct 18 2017

Keywords

Comments

Row 19 of A292690 and A293869. A121039 lists the terms which are divisible by 19.

Crossrefs

Cf. A121041, A121022, A121023, A121024, A121025, A121026, A121027, A121028, A121029, A121030, A121031, A121032, A121033, A121034, A121035, A121036, A121037, A121038, A121039, A121040: subsequences of the above, containing only multiples of the pattern p.

Programs

  • Mathematica
    Select[Range[2000],SequenceCount[IntegerDigits[#],{1,9}]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 11 2019 *)
  • PARI
    is_A293879 = has(n, p=19, m=10^#Str(p))=until(p>n\=10, n%m==p&&return(1))

Formula

a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022

A293873 Numbers having '13' as substring of their digits.

Original entry on oeis.org

13, 113, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 213, 313, 413, 513, 613, 713, 813, 913, 1013, 1113, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 1213, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1310, 1311, 1312, 1313, 1314, 1315
Offset: 1

Views

Author

M. F. Hasler, Oct 18 2017

Keywords

Comments

Row 13 of A292690 and A293869. A121033 is the subsequence of multiples of 13.

Crossrefs

Cf. A121041, A121022, A121023, A121024, A121025, A121026, A121027, A121028, A121029, A121030, A121031, A121032, A121033, A121034, A121035, A121036, A121037, A121038, A121039, A121040: subsequences of the above, containing only multiples of the pattern p.

Programs

  • Mathematica
    Select[Range[1350],SequenceCount[IntegerDigits[#],{1,3}]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 31 2017 *)
  • PARI
    is_A293873 = has(n, p=13, m=10^#Str(p))=until(p>n\=10, n%m==p&&return(1))

Formula

a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022

A293880 Numbers having '20' as substring of their digits.

Original entry on oeis.org

20, 120, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 220, 320, 420, 520, 620, 720, 820, 920, 1020, 1120, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1220, 1320, 1420, 1520, 1620, 1720, 1820, 1920, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Offset: 1

Views

Author

M. F. Hasler, Oct 18 2017

Keywords

Comments

Row 20 of A292690 and A293869. A121040 lists the terms which are divisible by 19.

Crossrefs

Cf. A121041, A121022, A121023, A121024, A121025, A121026, A121027, A121028, A121029, A121030, A121031, A121032, A121033, A121034, A121035, A121036, A121037, A121038, A121039, A121040: subsequences of the above, containing only multiples of the pattern p.

Programs

  • Mathematica
    Select[Range[2100],SequenceCount[IntegerDigits[#],{2,0}]>0&] (* Harvey P. Dale, Jul 25 2021 *)
  • PARI
    is_A293880 = has(n, p=20, m=10^#Str(p))=until(p>n\=10, n%m==p&&return(1))

Formula

a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022

A304158 a(n) is the second Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference (Fig. 3).

Original entry on oeis.org

24, 84, 144, 204, 264, 324, 384, 444, 504, 564, 624, 684, 744, 804, 864, 924, 984, 1044, 1104, 1164, 1224, 1284, 1344, 1404, 1464, 1524, 1584, 1644, 1704, 1764, 1824, 1884, 1944, 2004, 2064, 2124, 2184, 2244, 2304, 2364, 2424, 2484, 2544, 2604, 2664, 2724, 2784, 2844, 2904, 2964
Offset: 1

Views

Author

Emeric Deutsch, May 08 2018

Keywords

Comments

The second Zagreb index of a simple connected graph is the sum of the degree products d(i)d(j) over all edges ij of the graph.
The M-polynomial of the linear phenylene G[n] is M(G[n];x,y) = 6*x^2*y^2 + 4*(n - 1)*x^2*y^3 + 4(n - 1)*x^3*y^3.

Examples

			a(1) = 24; indeed, G[1] is a hexagon; we have 6 edges, each with end vertices of degree 2; then the second Zagreb index is 6*2*2 =24.
		

Crossrefs

Subsequence of A121024.

Programs

  • Julia
    [60*n-36 for n in 1:50] |> println # Bruno Berselli, May 09 2018
    
  • Maple
    seq(60*n - 36, n = 1 .. 40);
  • PARI
    a(n) = 60*n-36; \\ Altug Alkan, May 09 2018
    
  • PARI
    Vec(12*x*(2 + 3*x)/(1 - x)^2 + O(x^40)) \\ Colin Barker, May 23 2018

Formula

a(n) = 60*n - 36.
a(n) = 12 * A016873(n-1). - Alois P. Heinz, May 09 2018
From Bruno Berselli, May 09 2018: (Start)
O.g.f.: 12*x*(2 + 3*x)/(1 - x)^2.
E.g.f.: 12*(3 - 3*exp(x) + 5*x*exp(x)).
a(n) = 2*a(n-1) - a(n-2).
a(n) = A008594(5*n-3) = A017317(6*n-4) = A072710(4*n-2) = A139245(3*n-1). (End)
Previous Showing 31-34 of 34 results.