login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A178248 a(n) = 12^n + 1. 22
2, 13, 145, 1729, 20737, 248833, 2985985, 35831809, 429981697, 5159780353, 61917364225, 743008370689, 8916100448257, 106993205379073, 1283918464548865, 15407021574586369, 184884258895036417, 2218611106740436993 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Prime factors of a(n) are in the Cunningham Project.
LINKS
S. S. Wagstaff, Jr., The Cunningham Project.
FORMULA
O.g.f.: (2-13*x)/(1-13*x+12*x^2) = (2-13*x)/((1-x)(1-12*x)).
E.g.f.: exp(x) + exp(12*x). - Stefano Spezia, Mar 20 2023
From Elmo R. Oliveira, Dec 15 2023: (Start)
a(n) = 12*a(n-1) - 11 for n>0.
a(n) = 13*a(n-1) - 12*a(n-2) for n>1.
a(n) = A001021(n)+1 = A024140(n)+2.
a(n) = (11*A016125(n) + 13)/12. (End)
EXAMPLE
a(3) = 12^3 + 1 = 1729.
MATHEMATICA
nmax = 17; 12^Range[0, nmax] + 1
LinearRecurrence[{13, -12}, {2, 13}, 20] (* Harvey P. Dale, Nov 02 2015 *)
PROG
(Magma) [12^n + 1: n in [0..20]]; // Vincenzo Librandi, May 02 2011
(PARI) vector(21, n, 12^(n-1)+1) \\ Charles R Greathouse IV, May 02 2011
CROSSREFS
Sequence in context: A003581 A129256 A046245 * A107699 A079330 A059367
KEYWORD
nonn,easy
AUTHOR
Stuart Clary, Dec 20 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 00:18 EDT 2024. Contains 372143 sequences. (Running on oeis4.)