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

A173833 a(n) = 10^n - 3.

Original entry on oeis.org

7, 97, 997, 9997, 99997, 999997, 9999997, 99999997, 999999997, 9999999997, 99999999997, 999999999997, 9999999999997, 99999999999997, 999999999999997, 9999999999999997, 99999999999999997, 999999999999999997, 9999999999999999997, 99999999999999999997, 999999999999999999997
Offset: 1

Views

Author

Vincenzo Librandi, Feb 26 2010

Keywords

Crossrefs

Programs

Formula

a(n) = 10*a(n-1) + 27 with n > 1, a(1)=7.
G.f.: x*(20*x+7)/((x-1)*(10*x-1)). - Colin Barker, Jan 24 2013
E.g.f.: 2 - 3*exp(x) + exp(10*x). - Stefano Spezia, May 02 2025
From Elmo R. Oliveira, May 07 2025: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n > 2.
a(n) = A086947(n)/3. (End)

A101700 Numbers of the form 3*(10^n-3), where 10^n-3 is prime.

Original entry on oeis.org

21, 291, 2991, 299999999999999991
Offset: 1

Views

Author

Farideh Firoozbakht, Dec 31 2004

Keywords

Comments

a(5) = 3*(10^140-3) is 141 digits long and is too large to include.
If m is in this sequence then phi(m)=r(m), so this sequence is a subsequence of A069215. a(n)=3*(10^A089675(n)-3), so a(4)=3*(10^17-3), a(5)=3*(10^140-3), a(6)=3*(10^990-3), a(7)=3*(10^1887-3), a(8)=3*(10^3530-3), a(9)=3*(10^5996-3), a(10)=3*(10^13820-3), a(11)=3*(10^21873-3) & a(12)=3*(10 ^26045-3).

Examples

			299999999999999991 is in the sequence because (10^17-3) is prime and 3*(10^17-3)=299999999999999991.
		

Crossrefs

Programs

  • Mathematica
    Do[If[PrimeQ[10^n-3], Print[3*(10^n-3)]], {n, 150}]
    3#&/@Select[10^Range[20]-3,PrimeQ] (* Harvey P. Dale, Mar 23 2022 *)

Formula

a(n) = 3*(10^A089675(n) - 3).

A086948 a(n) = k where R(k+8) = 2.

Original entry on oeis.org

12, 192, 1992, 19992, 199992, 1999992, 19999992, 199999992, 1999999992, 19999999992, 199999999992, 1999999999992, 19999999999992, 199999999999992, 1999999999999992, 19999999999999992, 199999999999999992, 1999999999999999992, 19999999999999999992, 199999999999999999992
Offset: 1

Views

Author

Ray Chandler, Jul 24 2003

Keywords

Crossrefs

Programs

  • Magma
    [2*(10^n-4): n in [1..25] ]; // Vincenzo Librandi, Aug 22 2011
  • Mathematica
    Table[10*FromDigits[PadRight[{1},n,9]]+2,{n,20}] (* Harvey P. Dale, Dec 15 2017 *)

Formula

a(n) = 2*(10^n - 4).
R(a(n)) = A086947(n).
From Chai Wah Wu, Aug 01 2020: (Start)
a(n) = 11*a(n-1) - 10*a(n-2) for n > 2.
G.f.: x*(60*x + 12)/((x - 1)*(10*x - 1)). (End)
From Elmo R. Oliveira, May 01 2025: (Start)
E.g.f.: 2*(3 - 4*exp(x) + exp(10*x)).
a(n) = 12*A246057(n-1) = 6*A323639(n). (End)

A101703 Numbers n such that reversal(n) = (2/3)*n - 2.

Original entry on oeis.org

21, 291, 885, 2991, 29991, 234651, 299991, 2340651, 2999991, 8221845, 23400651, 29346591, 29999991, 234000651, 293406591, 299999991, 2340000651, 2346534651, 2934006591, 2993465991, 2999999991, 23400000651, 23465934651, 29340006591, 29934065991, 29999999991, 82277815845, 234000000651
Offset: 1

Views

Author

Farideh Firoozbakht, Dec 31 2004

Keywords

Comments

Numbers of the form 3*(10^n-3) are in the sequence, so A086947 is an infinite subsequence of this sequence. Also A101700 is a subsequence of this sequence.
Let f(r,s,t,z) = 2.(9)(r+s).(34.(0)(t).65)(z).(9)(s).1 where the dot between numbers means concatenation and "(m)(n)" means number of m's is n, for example f(0,2,1,3)= 299340653406534065991, it is interesting that all numbers of the form f(r,s,t,z) where r, s, t & z are nonnegative integers and r*z=0 are in this sequence.
Except for 885 & 8221845 all known terms of this sequence are of the form f(r,s,t,z).
For all r, s & t we have f(r,s,t,0)=f(r,s,0,0)=f(r+2s,0,0,0)=A086947(r+2s+1)= 3*(10^(r+2s+1)-3).
a(1) = 21 = f(0,0,0,0), a(2) = 291 = f(1,0,0,0), a(4) = 2991 = f(2,0,0,0) = f(0,1,0,0), a(5) = 29991 = f(3,0,0,0) = f(1,1,0,0), a(6) = 234651 = f(0,0,0,1), a(7) = 299991 = f(4,0,0,0) = f(0,2,0,0), a(8) = 2340651 = f(0,0,1,1), etc. Next term is greater than 11*10^8.
From David Wasserman, Mar 27 2008: (Start)
234653406534651 is a term that doesn't fit the f(r,s,t,z) format.
We may redefine f so that t is a vector of length z, which must be symmetrical to produce a member. For example f(0,0,[0,1,0],3) = 234653406534651 is a member, but f(0,0,[1,0,0],3) = 234065346534651 is not a member.
23465934651 is another member that doesn't fit the pattern. In general there may be any number of 9's between a 5 and a 3, provided that the 9's are symmetrical. So 2346593465934651 is a member, but 23465993465934651 is not. (End)

Examples

			f(0,1,2,3) = 2934006534006534006591 is in the sequence because reversal(2934006534006534006591) = 1956004356004356004392 = (2/3)*2934006534006534006591-2.
		

Crossrefs

Programs

  • Mathematica
    Do[If[FromDigits[Reverse[IntegerDigits[n]]] == 2/3*n - 2, Print[n]], {n, 1100000000}]

Extensions

More terms from David Wasserman, Mar 27 2008
Showing 1-4 of 4 results.