login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082802
Smallest multiple of 7 beginning with n.
7
14, 21, 35, 42, 56, 63, 7, 84, 91, 105, 112, 126, 133, 14, 154, 161, 175, 182, 196, 203, 21, 224, 231, 245, 252, 266, 273, 28, 294, 301, 315, 322, 336, 343, 35, 364, 371, 385, 392, 406, 413, 42, 434, 441, 455, 462, 476, 483, 49, 504, 511, 525, 532, 546, 553, 56
OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,2,0,0,0,0,0,0,-1).
FORMULA
From Colin Barker, Mar 23 2017: (Start)
G.f.: 7*x*(2 + 3*x + 5*x^2 + 6*x^3 + 8*x^4 + 9*x^5 + x^6 + 8*x^7 + 7*x^8 + 5*x^9 + 4*x^10 + 2*x^11 + x^12) / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)^2).
a(n) = 2*a(n-7) - a(n-14) for n>14.
(End)
MATHEMATICA
Table[If[Mod[n, 7]==0, n, If[Mod[10 n, 7]==0, 10 n, 10 n + 7 - Mod[10 n, 7]]], {n, 56}] (* Ray Chandler, Feb 09 2014 *)
PROG
(PARI) Vec(7*x*(2 + 3*x + 5*x^2 + 6*x^3 + 8*x^4 + 9*x^5 + x^6 + 8*x^7 + 7*x^8 + 5*x^9 + 4*x^10 + 2*x^11 + x^12) / ((1 - x)^2*(1 + x + x^2 + x^3 + x^4 + x^5 + x^6)^2) + O(x^60)) \\ Colin Barker, Mar 23 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Apr 20 2003
EXTENSIONS
Corrected a(3)=35 and extended by Ray Chandler, Feb 09 2014
Typo in Mathematica program fixed by Vincenzo Librandi, Feb 10 2014
STATUS
approved