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.

A273993 Numbers whose derivative is equal to the arithmetic derivative.

Original entry on oeis.org

0, 1, 2, 10, 22, 34, 38, 46, 94, 134, 142, 158, 262, 382, 514, 526, 542, 766, 2062, 2078, 2174, 2302, 2558, 4126, 4222, 7871, 8198, 8222, 8254, 8318, 10238, 12286, 16894, 32894, 40958, 65542, 65566, 65662, 66046, 67582, 131074, 131078, 131086, 131102, 131198, 132094
Offset: 1

Views

Author

Paolo P. Lava, Jun 08 2016

Keywords

Examples

			10 in base 2 is 1010 and its derivative is (1+0)(0+1)(1+0)-> 111 that is 7 in base 10 and 7 is also the arithmetic derivative of 10.
		

Crossrefs

Programs

  • Maple
    with(numtheory): P:=proc(q) local a,b,i,n,p;
    for n from 0 to q do a:=0; b:=convert(n,base,2);
    for i from 1 to nops(b)-1 do a:=a+((b[i]+b[i+1]) mod 2)*2^(i-1); od;
    if a=n*add(op(2,p)/op(1,p),p=ifactors(n)[2]) then print(n); fi;
    od; end: P(10^6);

Formula

Solution of the equation A003415(n) = A038554(n).

A274072 a(n) = 5^n-(-1)^n.

Original entry on oeis.org

0, 6, 24, 126, 624, 3126, 15624, 78126, 390624, 1953126, 9765624, 48828126, 244140624, 1220703126, 6103515624, 30517578126, 152587890624, 762939453126, 3814697265624, 19073486328126, 95367431640624, 476837158203126, 2384185791015624, 11920928955078126
Offset: 0

Views

Author

Colin Barker, Jun 09 2016

Keywords

Crossrefs

Cf. A015531.
Sequences of the type k^n-(-1)^n: A062157 (k=0), A010673 (k=1), A062510 (k=2), A105723 (k=3), A247281 (k=4), this sequence (k=5), A274073 (k=6).

Programs

  • Mathematica
    LinearRecurrence[{4, 5}, {0, 6}, 30] (* Paolo Xausa, Oct 21 2024 *)
  • PARI
    concat(0, Vec(6*x/((1+x)*(1-5*x)) + O(x^30)))

Formula

O.g.f.: 6*x/((1+x)*(1-5*x)).
E.g.f.: exp(5*x) - exp(-x).
a(n) = 4*a(n-1) + 5*a(n-2) for n>1.
a(n) = 6*A015531(n).
Showing 1-2 of 2 results.