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!)
A339772 Number of Goldbach partitions of 2n whose parts have the same number of decimal digits. 0
0, 1, 1, 1, 2, 1, 1, 0, 0, 0, 1, 1, 1, 1, 2, 1, 2, 2, 1, 2, 3, 1, 2, 3, 2, 2, 4, 2, 3, 5, 2, 3, 4, 1, 4, 5, 3, 3, 5, 3, 4, 7, 3, 3, 8, 3, 4, 6, 3, 5, 7, 3, 4, 6, 4, 4, 6, 3, 3, 7, 2, 2, 6, 2, 3, 4, 3, 2, 3, 3, 3, 3, 2, 1, 4, 1, 1, 3, 2, 1, 2, 1, 1, 2, 1, 1, 0, 1, 1, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
Eric Weisstein's World of Mathematics, Goldbach Partition
FORMULA
a(n) = Sum_{k=1..n} [floor(log_10(k)) = floor(log_10(2*n-k))] * c(k) * c(2*n-k), where [ ] is the Iverson bracket and c is the prime characteristic (A010051).
EXAMPLE
a(7) = 1; 2*7 = 14 has two Goldbach partitions, (11,3) and (7,7). Since (7,7) is the only one whose parts have the same number of decimal digits, a(7) = 1.
MATHEMATICA
Table[Sum[(PrimePi[i] - PrimePi[i - 1]) (PrimePi[2 n - i] - PrimePi[2 n - i - 1]) KroneckerDelta[Floor[Log10[i]], Floor[Log10[2 n - i]]], {i, n}], {n, 100}]
CROSSREFS
Sequence in context: A093662 A284256 A354841 * A250211 A243753 A219238
KEYWORD
nonn,base
AUTHOR
Wesley Ivan Hurt, Dec 21 2020
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 August 14 21:09 EDT 2024. Contains 375167 sequences. (Running on oeis4.)