|
Search: id:A161226
|
|
|
| A161226 |
|
a(0)=0. a(n) = the smallest integer of the form k^j, j>=2, such that a(n) >= a(n-1)+n. |
|
+0 1
|
|
| 0, 1, 4, 8, 16, 25, 32, 49, 64, 81, 100, 121, 144, 169, 196, 216, 243, 289, 324, 343, 400, 441, 484, 512, 576, 625, 676, 729, 784, 841, 900, 961, 1000, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1681, 1728, 1849, 1936, 2025, 2116, 2187, 2304, 2401, 2500
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
MATHEMATICA
|
fQ[n_] := GCD @@ Last /@ FactorInteger@n > 1; f[n_] := f[n] = Block[{k = f[n - 1] + n}, While[ !fQ@k, k++ ]; k]; f[0] = 0; f[1] = 1; Table[ f@n, {n, 0, 50}] [From Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 09 2009]
|
|
PROGRAM
|
(MAGMA) P:=[1] cat [ n: n in [2..2500] | IsPower(n) ]; S:=[0]; p:=1; n:=1; while p le #P do if P[p] ge (S[ #S]+n) then Append(~S, P[p]); n+:=1; end if; p+:=1; end while; S; [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 10 2009]
|
|
CROSSREFS
|
Cf. A001597.
Cf. A001597 (perfect powers: m^k where m is an integer and k >= 2). [From Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Jun 10 2009]
Sequence in context: A046059 A137932 A140466 this_sequence A022560 A003451 A013934
Adjacent sequences: A161223 A161224 A161225 this_sequence A161227 A161228 A161229
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Jun 06 2009
|
|
EXTENSIONS
|
Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Klaus Brockhaus (klaus-brockhaus(AT)t-online.de) and Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 11 2009
|
|
|
Search completed in 0.002 seconds
|