login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A192988 Smallest number whose representation requires n pentagonal numbers with greedy algorithm. 1

%I

%S 1,2,3,4,9,21,91,1517,385318,24745571498,102057218155974827415,

%T 1735945962956039658808082636319818286550

%N Smallest number whose representation requires n pentagonal numbers with greedy algorithm.

%F a(n+1) = ceiling(a(n)/3)*(3*ceiling(a(n)/3)-1)/2 + a(n), a(1) = 1.

%e a(7)=91 since 91 = 70 + 12 + 5 + 1 + 1 + 1 + 1.

%t a[1] = 1; a[n_] := a[n] = Ceiling[a[n - 1]/3]*(3*Ceiling[a[n - 1]/3] - 1)/2 + a[n - 1]; Table[a[n], {n, 15}] (* _T. D. Noe_, Jul 13 2011 *)

%Y Cf. A145172.

%K nonn

%O 1,2

%A _Franz Vrabec_, Jul 13 2011

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 22:42 EST 2021. Contains 349567 sequences. (Running on oeis4.)