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!)
A101182 Least positive integer that can be represented as the sum of a prime and a triangular number in exactly n ways. 2
1, 2, 3, 8, 17, 83, 47, 89, 107, 212, 194, 347, 284, 674, 524, 464, 467, 947, 662, 1187, 1514, 1304, 1019, 1229, 1559, 2189, 1724, 2699, 2084, 3434, 2417, 4022, 3467, 3824, 3764, 3362, 5324, 5879, 5672, 7214, 5927, 6179, 6134, 7079, 6704, 7727, 10667 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = min{i such that i = A000040(j) + A000217(k) in n ways}.
EXAMPLE
a(0) = 1 because 1 is the smallest positive integer that cannot be represented as sum of a prime and a triangular number (since 2 is the smallest prime).
a(1) = 2 = 2 + 0; a(2) = 3 = 3 + 0 = 2 + 1; a(3) = 8 = 2 + 6 = 5 + 3 = 7 + 1.
CROSSREFS
Sequence in context: A099960 A324963 A218090 * A009207 A290878 A096254
KEYWORD
easy,nonn
AUTHOR
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 September 10 09:32 EDT 2024. Contains 375786 sequences. (Running on oeis4.)