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

A218745 a(n) = (42^n - 1)/41.

Original entry on oeis.org

0, 1, 43, 1807, 75895, 3187591, 133878823, 5622910567, 236162243815, 9918814240231, 416590198089703, 17496788319767527, 734865109430236135, 30864334596069917671, 1296302053034936542183, 54444686227467334771687, 2286676821553628060410855, 96040426505252378537255911
Offset: 0

Views

Author

M. F. Hasler, Nov 04 2012

Keywords

Comments

Partial sums of powers of 42 (A009986).

Crossrefs

Programs

Formula

From Vincenzo Librandi, Nov 07 2012: (Start)
G.f.: x/((1-x)*(1-42*x)).
a(n) = 43*a(n-1) - 42*a(n-2).
a(n) = floor(42^n/41). (End)
E.g.f.: exp(x)*(exp(41*x) - 1)/41. - Elmo R. Oliveira, Aug 29 2024

A100403 Digital root of 6^n.

Original entry on oeis.org

1, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9
Offset: 0

Views

Author

Cino Hilliard, Dec 31 2004

Keywords

Comments

Also the digital root of k^n for any k == 6 (mod 9). - Timothy L. Tiffin, Dec 02 2023

Examples

			For n=8, the digits of 6^8 = 1679616 sum to 36, whose digits sum to 9. So, a(8) = 9. - _Timothy L. Tiffin_, Dec 01 2023
		

Crossrefs

Programs

  • Mathematica
    PadRight[{1, 6}, 100, 9] (* Timothy L. Tiffin, Dec 03 2023 *)
  • PARI
    a(n) = if( n<2, [1,6][n+1], 9); \\ Joerg Arndt, Dec 03 2023

Formula

From Timothy L. Tiffin, Dec 01 2023: (Start)
a(n) = 9 for n >= 2.
G.f.: (1+5x+3x^2)/(1-x).
a(n) = A100401(n) for n <> 1.
a(n) = A010888(A000400(n)) = A010888(A001024(n)) = A010888(A009968(n)) = A010888(A009977(n)) = A010888(A009986(n)) = A010888(A159991(n)). (End)
E.g.f.: 9*exp(x) - 3*x - 8. - Elmo R. Oliveira, Aug 09 2024
a(n) = A007953(6*a(n-1)) = A010888(6*a(n-1)). - Stefano Spezia, Mar 20 2025

A165863 Totally multiplicative sequence with a(p) = 42.

Original entry on oeis.org

1, 42, 42, 1764, 42, 1764, 42, 74088, 1764, 1764, 42, 74088, 42, 1764, 1764, 3111696, 42, 74088, 42, 74088, 1764, 1764, 42, 3111696, 1764, 1764, 74088, 74088, 42, 74088, 42, 130691232, 1764, 1764, 1764, 3111696, 42, 1764, 1764, 3111696, 42, 74088, 42
Offset: 1

Views

Author

Jaroslav Krizek, Sep 28 2009

Keywords

Programs

  • Mathematica
    42^PrimeOmega[Range[100]] (* G. C. Greubel, Apr 15 2016 *)

Formula

a(n) = A009986(A001222(n)) = 42^bigomega(n) = 42^A001222(n).
Showing 1-3 of 3 results.