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!)
A085252 Number of ways to write n as sum of two powerful numbers (A001694). 7
0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 2, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 2, 1, 1, 2, 1, 0, 0, 2, 2, 0, 1, 1, 1, 0, 0, 1, 0, 2, 0, 2, 1, 1, 0, 0, 2, 1, 1, 0, 1, 0, 1, 1, 2, 0, 0, 2, 0, 0, 0, 2, 2, 1, 0, 2, 0, 0, 0, 2, 2, 1, 0, 0, 2, 0, 0, 1, 2, 1, 1, 0, 0, 0, 0, 1, 2, 1, 1, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,17
LINKS
Eric Weisstein's World of Mathematics, Powerful Number.
FORMULA
a(A085253(n)) = 0.
a(A076871(n)) > 0.
a(A085254(n)) = 1.
a(A085255(n)) > 1.
EXAMPLE
a(81) = 2: 81 = 9 + 72 = A001694(4) + A001694(12) = 32 + 49 = A001694(8) + A001694(10).
MATHEMATICA
With[{m = 120}, pow = Select[Range[m], # == 1 || Min[FactorInteger[#][[;; , 2]]] > 1 &]; BinCounts[Select[Plus @@@ Union[Sort /@ Tuples[pow, {2}]], # <= m &], {1, m, 1}]] (* Amiram Eldar, Jan 30 2023 *)
CROSSREFS
Sequence in context: A060838 A206567 A362422 * A250214 A073423 A219180
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 23 2003
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 8 16:29 EDT 2024. Contains 372340 sequences. (Running on oeis4.)